From a1a025c5e3254be00ac64f15326af12bcfa7d6c0 Mon Sep 17 00:00:00 2001 From: Thomas CHAZOT Date: Fri, 6 Jan 2023 16:16:15 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'api-rest/index.php?= =?UTF-8?q?'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api-rest/index.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/api-rest/index.php b/api-rest/index.php index 10c85b6..9f609e7 100644 --- a/api-rest/index.php +++ b/api-rest/index.php @@ -19,12 +19,10 @@ // ------ //$ini_array= parse_ini_file("config.ini"); // - $dsn = "mysql:host=". getenv("DB_SERVER").";dbname=". getenv("MYSQL_DATABASE"); + $dsn = "mysql:host=". getenv("DB_SERVER").";port=8888;dbname=". getenv("MYSQL_DATABASE"); $username = "root"; $password = getenv("MYSQL_ROOT_PASSWORD"); - echo $password; - // Initializing Database try{ $database = new DatabaseConnection($dsn,$username,$password);