rap2-delos icon indicating copy to clipboard operation
rap2-delos copied to clipboard

数据库无法连接上

Open Junior233 opened this issue 3 years ago • 0 comments

错误如下: [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

Junior233 avatar Nov 26 '21 08:11 Junior233