mysql报错1548-Cannot load from mysql.proc. The table is probably corrupted

Posted kunspace

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mysql报错1548-Cannot load from mysql.proc. The table is probably corrupted相关的知识,希望对你有一定的参考价值。

我的版本是5.5.53,

进入到mysql-front后,一点击localhost就报错

网上的例子都是说使用mysql_upgrade更新

但是我的是在phpstudy里的mysql,并没有mysql_upgrade

 

参考大佬博客后,找到解决办法

先找到mysql数据库,然后找到proc表,找到comment字段

查看类型是varchar型或者char型

我们只需要把它改为text型就可以

执行下面sql语句修改

ALTER TABLE proc
MODIFY COLUMN comment text CHARACTER SET utf8 COLLATE utf8_bin NOT NULL AFTER sql_mode;

然后重启mysql就可以了

 

参考连接

https://blog.csdn.net/taoyuankuangdao/article/details/79203172

 

以上是关于mysql报错1548-Cannot load from mysql.proc. The table is probably corrupted的主要内容,如果未能解决你的问题,请参考以下文章