[CircleCI] MYSQL_USER=”root”, MYSQL_PASSWORD cannot be used for the root user

クライアントのCircle CIで、昨日は動いていたのに、MySQLに接続できないエラーが...

[Note] [Entrypoint]: Entrypoint script for MySQL Server 5.6.51-1debian9 started.
[Note] [Entrypoint]: Switching to dedicated user 'mysql'
[Note] [Entrypoint]: Entrypoint script for MySQL Server 5.6.51-1debian9 started.
[ERROR] [Entrypoint]: MYSQL_USER="root", MYSQL_PASSWORD cannot be used for the root user
    Use one of the following to control the root user password:
    - MYSQL_ROOT_PASSWORD
    - MYSQL_ALLOW_EMPTY_PASSWORD
    - MYSQL_RANDOM_ROOT_PASSWORD

Exited with code 1

docker imageは、circleci/mysql:5.6.51。今朝9:04にアップデートされていました。

circleci/mysql:5.6.50 のアップデートは2ヶ月前。

試しに、5.6.50を指定したら、動きました。

追記

日本時間の20:22すぎ、circleci/mysql:5.6.51がアップデートされていました。問題を解決したのかもしれないですね。

タイトルとURLをコピーしました