Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

部署失败 #194

Open
gllgoe opened this issue Jul 6, 2024 · 6 comments
Open

部署失败 #194

gllgoe opened this issue Jul 6, 2024 · 6 comments

Comments

@gllgoe
Copy link

gllgoe commented Jul 6, 2024

[root@instance-20230923-1849 wewe-rss]# docker-compose up -d
[+] Running 3/3
✔ Network wewe-rss_default Created 0.7s
✘ Container wewe-rss-db-1 Error 0.5s
✔ Container wewe-rss-app-1 Created 0.2s
dependency failed to start: container wewe-rss-db-1 exited (1)
第一次部署的时候没问题,使用了一段时间,后来db就停止了,看了一下是如下问题,2024-07-06T07:15:32.897429Z 0 [ERROR] [MY-000067] [Server] unknown variable 'mysql-native-password=ON'.
2024-07-06T07:15:32.899715Z 0 [ERROR] [MY-010119] [Server] Aborting
2024-07-06T07:15:43.602317Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 9.0.0) MySQL Community Server - GPL.
2024-07-06T07:15:43.602366Z 0 [System] [MY-015016] [Server] MySQL Server - end.
后来重新部署,还是不行,人工智能查了下,也没能解决,请大佬帮忙,不胜感激!

@flybird027
Copy link

我也是这个问题 一段时间后自己不能运行了
日志里也是[Server] unknown variable 'mysql-native-password=ON'.

@ginobefun
Copy link
Contributor

应该是 MySQL 9.0 的版本不支持这个插件了,我是在 docker-compose.yaml 里指定 MySQL 的版本为 8.4.0

@ztm0929
Copy link
Contributor

ztm0929 commented Jul 10, 2024

作者大佬最新提交的版本把数据库回退为8.3.0了,可以再试试重新部署docker-compose

mysql前几天释出的9.0.0最新版加强了密码插件验证方法,参见这份官方说明

@Spider-DT
Copy link

@ztm0929
Hi, 请问国内阿里ECS,拉不到镜像有什么好的解决方法吗?
ps. 已配置镜像加速
image

@ztm0929
Copy link
Contributor

ztm0929 commented Jul 26, 2024

@ztm0929 Hi, 请问国内阿里ECS,拉不到镜像有什么好的解决方法吗? ps. 已配置镜像加速 image

@Spider-DT 你配置加速的步骤是什么?我目前临时自用的是 dockerproxy.cn 。

@Spider-DT
Copy link

@ztm0929
感谢,参考你的这个源拉取成功了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants