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
2024-12-02 23:38:34 2024-12-02T15:38:34.036123Z 0 [ERROR] [MY-000067] [Server] unknown variable 'default-authentication-plugin=mysql_native_password'.
2024-12-02 23:38:34 2024-12-02T15:38:34.036582Z 0 [ERROR] [MY-013236] [Server] The designated data directory /var/lib/mysql/ is unusable. You can remove all files that the server added to it.
2024-12-02 23:38:34 2024-12-02T15:38:34.036614Z 0 [ERROR] [MY-010119] [Server] Aborting
mysql默认版本已经到8了,于是用作者默认的docker-compose构建会出现以下错误:
2024-12-02 23:38:34 2024-12-02T15:38:34.036123Z 0 [ERROR] [MY-000067] [Server] unknown variable 'default-authentication-plugin=mysql_native_password'. 2024-12-02 23:38:34 2024-12-02T15:38:34.036582Z 0 [ERROR] [MY-013236] [Server] The designated data directory /var/lib/mysql/ is unusable. You can remove all files that the server added to it. 2024-12-02 23:38:34 2024-12-02T15:38:34.036614Z 0 [ERROR] [MY-010119] [Server] Aborting
在
docker-compose.yml
里,将其中mysql修改为5.7版本的mysql
就正常了,在image
后标注具体安装的版本号即可,同时根据issue53,对mysql进行提权操作The text was updated successfully, but these errors were encountered: