当前位置:论坛首页 > Linux面板 > 讨论

宝塔数据库报错:ERROR! MySQL server PID file could n

发表在 Linux面板2021-7-21 21:56 [复制链接] 1 2396

客户因给服务器清理日志、不清楚具体操作了什么 ,清理完成以后,数据库启动不了。报错如下:
[root@VM-0-5-centos ~]# /etc/init.d/mysqld restart
ERROR! MySQL server PID file could not be found!
Starting MySQL.... ERROR! The server quit without updating PID file (/www/server/data/VM-0-5-centos.pid).
多次排查 :MySQL日志文件找不到或者损坏。
解决方案:
  • /etc/init.d/mysqld stop
  • rm -f /www/server/data/ib_logfile*
  • rm -f /www/server/data/mysql-bin.*
  • /etc/init.d/mysqld start

转载请注明原文链接:宝塔数据库报错:ERROR! MySQL server PID file could not be found!

使用道具 举报 只看该作者 回复
发表于 2021-7-21 22:00:27 | 显示全部楼层
多做备份!
使用道具 举报 回复
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

工作时间:白班:9:00 - 18:00

工作时间:晚班:18:00 - 24:00

立即付费处理

工作时间:09:00至24:00

快速回复 返回顶部 返回列表