Table '.\mysql\proc' is marked as crashed and should be repaired 报错

Table '.\mysql\proc' is marked as crashed and should be repaired 报错

解决方法:

找到mysql的安装目录的bin/myisamchk工具,在命令行中输入:

myisamchk -c -r ../data/mysql/proc.MYI

然后myisamchk 工具会帮助你恢复数据表的索引。重新启动mysql,问题解决。

上一篇:Spring Boot入门(1)Hello World


下一篇:prometheus中使用python手写webhook完成告警