diff --git a/api-rest/index.php b/api-rest/index.php index 66b458e..5ac1969 100644 --- a/api-rest/index.php +++ b/api-rest/index.php @@ -22,7 +22,7 @@ // ------ //$ini_array= parse_ini_file("config.ini"); - $dsn = "mysql:host=". getenv("DB_SERVER").";port=3036;dbname=". getenv("MYSQL_DATABASE"); + $dsn = "mysql:host=database". .";port=3036;dbname=". getenv("MYSQL_DATABASE"); $username = getenv("MYSQL_USER_TOM"); $password = getenv("MYSQL_PASSWORD_TOM");