diff --git a/api-rest/index.php b/api-rest/index.php index b56119d..e3c0988 100644 --- a/api-rest/index.php +++ b/api-rest/index.php @@ -19,7 +19,7 @@ // ------ //$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");