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


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;


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM