diff --git a/api-rest/index.php b/api-rest/index.php index 2f58b4b..2999072 100644 --- a/api-rest/index.php +++ b/api-rest/index.php @@ -20,7 +20,7 @@ // ------ //$ini_array= parse_ini_file("config.ini"); - $dsn = "mysql:host=db;port=3036;dbname=". getenv("MYSQL_DATABASE"); + $dsn = "mysql: host=https://codefirst.iut.uca.fr/containers/BOB_PARTEAM-mysql;port=3036;dbname=". getenv("MYSQL_DATABASE"); $username = getenv("MYSQL_USER_TOM"); $password = getenv("MYSQL_PASSWORD_TOM");