欢迎您光临自学哈网,只为分享网络知识教程,供大家学习参考!

「自学哈网」宝塔面板数据库报错:ERROR! MySQL server PID file could not be found!

作者 : 自学哈 本文共410个字,预计阅读时间需要2分钟 2023-08-4 共73人阅读
也想出现在这里? 联系我们

宝塔面板数据库报错:ERROR! MySQL server PID file could not be found!

客户因给服务器清理日志、不清楚具体操作了什么 ,清理完成以后,数据库启动不了。报错如下:
[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

 

本站声明:
本站所有资源来源于网络,分享目的仅供大家学习和交流!如若本站内容侵犯了原著者的合法权益,可联系邮箱976157886@qq.com进行删除。
自学哈专注于免费提供最新的分享知识、网络教程、网络技术的资源分享平台,好资源不私藏,大家一起分享!

自学哈网 » 「自学哈网」宝塔面板数据库报错:ERROR! MySQL server PID file could not be found!
也想出现在这里? 联系我们
© 2022 Theme by - 自学哈网 & WordPress Theme. All rights reserved 浙ICP备2022016594号