您的位置:首页 > 数据库 > MySQL

Error code:1728 Cannot load from mysql.proc. The table is probably corrupted

2017-06-05 14:54 1481 查看
Error code:1728 Cannot load from mysql.proc. The table is probably corrupted
http://bugs.mysql.com/bug.php?
id=50183

原因是mysql.proc 在5.1 comment char(64) -> 5.5 comment text 导致

The difference seen in the mysql.proc table is

5.5

< `comment` text CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,

---

5.1

> `comment` char(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',

我们仅仅须要将table proc column comment 改为text类型就能够了

ALTER TABLE `proc`

MODIFY COLUMN `comment` text CHARACTER SET utf8 COLLATE utf8_bin NOT NULL;
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐