Mise à jour de 'api-rest/index.php'
continuous-integration/drone/push Build is passing Details

testDockerToto
Thomas CHAZOT 2 years ago
parent 720c1479ee
commit a1a025c5e3

@ -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);

Loading…
Cancel
Save