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

來源:互聯網
上載者:User

Error code:1728 Cannot load from mysql.proc. The table is probably corrupted,1728mysql.proc
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;

著作權聲明:本文為博主原創文章,未經博主允許不得轉載。

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.