DATABASE_HOST

In the docker-compose.yml is the Database_Host defined as "mariadb". If Host is not changed in the environment.php to "mariadb" as well the setup will fail
This commit is contained in:
Pascal
2022-10-14 01:26:06 +02:00
committed by GitHub
parent 6d1c3ac7c4
commit e99e97cae2
+1 -1
View File
@@ -17,7 +17,7 @@ if(is_string($docker_cid)) {
define('DATABASE_PREFIX', Getenv('DATABASE_PREFIX'));
define('DATABASE_CHARSET', Getenv('DATABASE_CHARSET'));
} else {
define('DATABASE_HOST', "localhost");
define('DATABASE_HOST', "mariadb");
define('DATABASE_PORT', "3306");
define('DATABASE_NAME', "qrcode");
define('DATABASE_USER', "root");