Details
Description
Everything is ok of MYSQL_* parameters are in use (e.g. https://mdbe-buildbot.mariadb.net/#/builders/171/builds/62/steps/4/logs/stdio)
Failed test:
https://mdbe-buildbot.mariadb.net/#/builders/171/builds/57/steps/4/logs/stdio
RUN: docker run --name mariadbtest-57 -e MARIADB_USER=testuser -e MARIADB_PASSWORD=7sFh5+mOpHqwuAiCgiF/GmUnj4RkQWexwl6+Re44PaU= -e MARIADB_RANDOM_ROOT_PASSWORD=Y -d mariadb:10.5
|
ff77c82459d2b498715ac4edce06e92a5c31d3b7fefba3ede3ef437c71215ee5
|
RUN: docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' mariadbtest-57
|
172.17.0.2
|
RUN: echo 'select version()' | mysql -utestuser -p'7sFh5+mOpHqwuAiCgiF/GmUnj4RkQWexwl6+Re44PaU=' -h 172.17.0.2
|
ERROR 2002 (HY000): Can't connect to MySQL server on '172.17.0.2' (115)
|
ERROR:
|
RUN: docker logs ff77c82459d2b498715ac4edce06e92a5c31d3b7fefba3ede3ef437c71215ee5
|
2021-02-25 13:12:08+00:00 [ERROR] [Entrypoint]: Database is uninitialized and password option is not specified
|
You need to specify one of MYSQL_ROOT_PASSWORD, MYSQL_ALLOW_EMPTY_PASSWORD and MYSQL_RANDOM_ROOT_PASSWORD
|
2021-02-25 13:12:08+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 1:10.5.9+maria~focal started.
|
2021-02-25 13:12:08+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
|
2021-02-25 13:12:08+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 1:10.5.9+maria~focal started.
|
Attachments
Issue Links
- links to