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
docker-compose up -d
执行完之后 mysql的status 总是Restasting
2cefca85bca9 mysql:8.0.13 "docker-entrypoint.s…" 3 minutes ago Restarting (1) 54 seconds ago m_mysql
执行docker logs 2cefca85bca9
如下:2019-11-12T07:28:56.019652Z 0 [ERROR] [MY-010457] [Server] --initialize specified but the data directory has files in it. Aborting.
原因是映射的/market_monitor/mysql/data/ 文件夹下有个README.md
删除后 恢复正常
The text was updated successfully, but these errors were encountered:
docker-compose up -d
执行完之后 mysql的status 总是Restasting
2cefca85bca9 mysql:8.0.13 "docker-entrypoint.s…" 3 minutes ago Restarting (1) 54 seconds ago m_mysql
执行docker logs 2cefca85bca9
如下:2019-11-12T07:28:56.019652Z 0 [ERROR] [MY-010457] [Server] --initialize specified but the data directory has files in it. Aborting.
原因是映射的/market_monitor/mysql/data/ 文件夹下有个README.md
删除后 恢复正常
The text was updated successfully, but these errors were encountered: