From 3f072984fe74cf36f5ed5bd7b2cccacd6a1925bd Mon Sep 17 00:00:00 2001 From: Vincent ASTOLFI Date: Fri, 2 Dec 2022 13:54:21 +0100 Subject: [PATCH] =?UTF-8?q?test=20r=C3=A9solution=20de=20la=20base=20de=20?= =?UTF-8?q?donn=C3=A9es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/API/config/Config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/API/config/Config.php b/Sources/API/config/Config.php index 5b648a6..9e24917 100644 --- a/Sources/API/config/Config.php +++ b/Sources/API/config/Config.php @@ -2,7 +2,7 @@ //prefixe $rep=__DIR__.'/../'; -$dsn='mysql:host='.getenv("DB_SERVER").';dbname='.getenv("MARIADB_DATABASE"); +$dsn='mysql:host='.getenv("DB_SERVER").':3306'.';dbname='.getenv("MARIADB_DATABASE"); $dbname=getenv("MARIADB_DATABASE"); $usr=getenv("MARIADB_USER"); $mdp=getenv("MARIADB_PASSWORD");