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;

时间: 2024-10-09 11:37:20

Error code:1728 Cannot load from mysql.proc. The table is probably corrupted的相关文章

Cannot load from mysql.proc. The table is probably corrupted解决办法

文章来源:http://www.itokit.com/2012/0502/73723.html 今天在执行一个其他项目的数据库初始化sql脚本时,报了个这样的错: Cannot load from mysql.proc. The table is probably corrupted 看了下报错行数,是一个CREATE FUNCTION语句,上网搜了下,说是执行下mysql_upgrade命令就可以了. #mysql_upgrade -u root -p 输入密码后,执行完会有一些输出,但最后输

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

当连接mysql数据库如果得到提示"Cannot load from mysql.proc. The table is probably corrupted" 通过mysql_upgrade -uroot -p应该可以恢复正常

导入mysql数据问题:Cannot load from mysql.proc. The table is probably corrupted

解决方法:原因是mysql.proc升级时有个字段没有升级成功. 在mysql5.1中mysql.proc表的comment字段是varchar(64): `comment` char(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '', 但在mysql5.5中mysql.proc表的comment字段应该是text:`comment` text CHARACTER SET utf8 COLLATE utf8_bin NOT N

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 procMODIFY COLUMN comment te

Mysql报错 Cannot load from mysql.proc

Auth: Jin Date: 20140716 mysql --default-character-set utf8 -h127.0.0.1 -uroot -p < account-20140716-1.sql ERROR 1548 (HY000) at line 57: Cannot load from mysql.proc. The table is probably corruptedmysql> SHOW PROCEDURE status; ERROR 1548 (HY000): C

Mysql导入Sql文件时报Error Code: 2013 - Lost connection to MySQL server during query

MySql 有时我们导入sql文件,文件过大,导致Error Code: 2013 - Lost connection to MySQL server during query这种错误 执行以下: [sql] view plain copy print? SHOW GLOBAL VARIABLES LIKE '%timeout'; SET GLOBAL net_write_timeout=28800; SET GLOBAL net_read_timeout=100; SET GLOBAL con

Error Code: 2013. Lost connection to MySQL server during query

问题情境: 从开发机导出MySQL数据库的schema,然后导入测试机的MySQL数据库,出现错误消息:Error Code: 2013. Lost connection to MySQL server during query. 完整的错误消息: 10:38:35??? CREATE TABLE `__migrationhistory` (?? `MigrationId` varchar(150) NOT NULL,?? `ContextKey` varchar(300) NOT NULL,?

MySQL Error Code文档手册---摘自MySQL官方网站

This chapter lists the errors that may appear when you call MySQL from any host language. The first list displays server error messages. The second list displays client program messages. Server error information comes from the following files: The Er

MYSQL ERROR CODE 错误编号的意义

转: MYSQL ERROR CODE 错误编号的意义 mysql error code(备忘) 转1005:创建表失败 1006:创建数据库失败 1007:数据库已存在,创建数据库失败 1008:数据库不存在,删除数据库失败 1009:不能删除数据库文件导致删除数据库失败 1010:不能删除数据目录导致删除数据库失败 1011:删除数据库文件失败 1012:不能读取系统表中的记录 1020:记录已被其他用户修改 1021:硬盘剩余空间不足,请加大硬盘可用空间 1022:关键字重复,更改记录失败