rap2-delos
rap2-delos copied to clipboard
数据库无法连接上
错误如下: [Entrypoint]: MYSQL_USER="root", MYSQL_USER and MYSQL_PASSWORD are for configuring a regular user and cannot be used for the root user
Remove MYSQL_USER="root" and use one of the following to control the root user password:
-
MYSQL_ROOT_PASSWORD
-
MYSQL_ALLOW_EMPTY_PASSWORD
-
MYSQL_RANDOM_ROOT_PASSWORD
解决办法见: https://stackoverflow.com/questions/66831863/mysql-docker-container-keeps-restarting