change db host name

This commit is contained in:
vadym Novoselskyi 2024-10-03 12:58:27 +02:00
parent 29edcb8c11
commit be0f88f71a
3 changed files with 1 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -11,7 +11,7 @@ class dbEgyTalk
// Definierar konstanter med användarinformation. // Definierar konstanter med användarinformation.
define('DB_USER', 'egytalk'); define('DB_USER', 'egytalk');
define('DB_PASSWORD', '12345'); define('DB_PASSWORD', '12345');
define('DB_HOST', '127.0.0.1'); define('DB_HOST', 'mariadb');
define('DB_NAME', 'egytalk'); define('DB_NAME', 'egytalk');
$dsn = 'mysql:host=' . DB_HOST . ';dbname=' . DB_NAME . ';charset=utf8'; $dsn = 'mysql:host=' . DB_HOST . ';dbname=' . DB_NAME . ';charset=utf8';