MySQL无法启动:start request repeated too quickly for mysqld.service

错误分析:

早上起来打开网站,发现不能访问了,报错显示:Error establishing a database connection,不用说,肯定又是MySQL数据库宕了...

赶紧火急火燎的登上服务器,

ps -ef |grep mysql一看,果然是。

尝试重新启动MySQL,


提示:Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.

按图索骥,用提示的systemctl命令查看一下:
systemctl status mysqld.service

提示:start request repeated too quickly for mysqld.service,

查看日志结果是没权限
cat /var/log/mysqld.log

然后给这个/tem授权777
重启好使了


启动 systemctl start mysqld
停止 systemctl stop mysqld
重启 systemctl restart mysqld
posted @   菜鸟辉哥  阅读(14009)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· CSnakes vs Python.NET:高效嵌入与灵活互通的跨语言方案对比
· DeepSeek “源神”启动!「GitHub 热点速览」
· 我与微信审核的“相爱相杀”看个人小程序副业
· Plotly.NET 一个为 .NET 打造的强大开源交互式图表库
· 上周热点回顾(2.17-2.23)
点击右上角即可分享
微信分享提示