MySQL启动报错修复

  • Post author:
  • Post category:mysql



原因:


服务器强制重启导致MySQL无法启动报错信息为:

The server quit without updating PID file(XXX/XXX.pid)

查看mysql日志报错信息为:

/www/server/mysql/bin/mysqld: Table ‘./mysql/db’ is marked as crashed and should be repaired

Fatal error: Can’t open and lock privilege tables: Table ‘./mysql/db’ is marked as crashed and should be repaired


修复方法:

请移步:

https://www.xugj520.cn/archives/bt-mysql.html



版权声明:本文为xu1988923原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。