diff --git a/api-rest/index.php b/api-rest/index.php index 10c85b6..9f609e7 100644 --- a/api-rest/index.php +++ b/api-rest/index.php @@ -19,12 +19,10 @@ // ------ //$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"); - echo $password; - // Initializing Database try{ $database = new DatabaseConnection($dsn,$username,$password);