You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, I have a small problem with the MariaDB container, which crashes because of the authentication.
Platform : W10
Use WSL 2 Based engine : No
Docker 4.1.1 (latest) (use Docker Compose V1)
Logs:
mariadb 10:23:35.28
mariadb 10:23:35.28 Welcome to the Bitnami mariadb container
mariadb 10:23:35.28 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-mariadb
mariadb 10:23:35.29 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-mariadb/issues
mariadb 10:23:35.29
mariadb 10:23:35.29 INFO ==> ** Starting MariaDB setup **
mariadb 10:23:35.30 INFO ==> Validating settings in MYSQL_/MARIADB_ env vars
mariadb 10:23:35.31 WARN ==> You set the environment variable ALLOW_EMPTY_PASSWORD=yes. For safety reasons, do not use this flag in a production environment.
mariadb 10:23:35.31 INFO ==> Initializing mariadb database
mariadb 10:23:35.32 INFO ==> Updating 'my.cnf' with custom configuration
mariadb 10:23:35.32 INFO ==> Setting user option
mariadb 10:23:35.33 INFO ==> Installing database
mariadb 10:23:37.48 INFO ==> Starting mariadb in background
mariadb 10:23:39.49 INFO ==> Configuring authentication
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
mariadb 10:23:39.52 INFO ==> Stopping mariadb
If I set ALLOW_EMPTY_PASSWORD to : false through DECK .env
mariadb 10:28:51.41 INFO ==> ** Starting MariaDB setup **
mariadb 10:28:51.43 INFO ==> Validating settings in MYSQL_/MARIADB_ env vars
mariadb 10:28:51.43 WARN ==> You set the environment variable ALLOW_EMPTY_PASSWORD=yes. For safety reasons, do not use this flag in a production environment.
mariadb 10:28:51.43 INFO ==> Initializing mariadb database
mariadb 10:28:51.44 INFO ==> Updating 'my.cnf' with custom configuration
mariadb 10:28:51.45 INFO ==> Setting user option
mariadb 10:28:51.45 INFO ==> Using persisted data
mariadb 10:28:51.47 INFO ==> Running mysql_upgrade
mariadb 10:28:51.47 INFO ==> Starting mariadb in background
mariadb 10:28:53.49 INFO ==> Stopping mariadb
When editing directly, the environments in the .docker-stacks/docker-compose.yml : (removed ALLOW_EMPTY_PASSWORD)
But is saying MARIADB_ROOT_PASSWORD is empty or not set. That seem to be true. (in .env of DECK i have DB_PASSWORD and not MARIADB_ROOT_PASSWORD) but when adding MARIADB_ROOT_PASSWORD to .env is thrown the same error
mariadb 10:30:37.10 INFO ==> ** Starting MariaDB setup **
mariadb 10:30:37.11 INFO ==> Validating settings in MYSQL_/MARIADB_ env vars
mariadb 10:30:37.11 ERROR ==> The MARIADB_ROOT_PASSWORD environment variable is empty or not set. Set the environment variable ALLOW_EMPTY_PASSWORD=yes to allow the container to be started with blank passwords. This is recommended only for development.
Hi, thanks a lot!
However, I have a small problem with the MariaDB container, which crashes because of the authentication.
Platform : W10
Use WSL 2 Based engine : No
Docker 4.1.1 (latest) (use Docker Compose V1)
Logs:
If I set ALLOW_EMPTY_PASSWORD to : false through DECK .env
When editing directly, the environments in the .docker-stacks/docker-compose.yml : (removed ALLOW_EMPTY_PASSWORD)
But is saying MARIADB_ROOT_PASSWORD is empty or not set. That seem to be true. (in .env of DECK i have DB_PASSWORD and not MARIADB_ROOT_PASSWORD) but when adding MARIADB_ROOT_PASSWORD to .env is thrown the same error
Originally posted by @TheoD02 in #26 (comment)
The text was updated successfully, but these errors were encountered: