Docker MYSQL 容器启动出错:initialize specified but the data directory has files in it. Aborting.Newly crea
Docker MYSQL 容器启动出错:initialize specified but the data directory has files in it. Aborting.Newly created data 的解决方法。该问题系启动时,mysql数据目录中存在文件导致step1:先备份数据。。。step2:docker-compose run 容器名称 bash或docker exec -it 容器名称 bashstep3:cd /var/lib/mysqlrm -rf *
原创
2020-08-17 17:01:56 ·
5323 阅读 ·
5 评论