diff --git a/api-rest/index.php b/api-rest/index.php index 2524292..c3b8722 100644 --- a/api-rest/index.php +++ b/api-rest/index.php @@ -22,7 +22,7 @@ $dsn = "mysql:host=db".";port=3036;dbname=". getenv("MYSQL_DATABASE"); $username = "root"; - $password = getenv("MYSQL_PASSWORD_TOM"); + $password = getenv("MYSQL_ROOT_PASSWORD"); echo "Chemin: " . $dsn . " " . "Username: " . $username . " " . "Password: " . $password . " ";