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应该可以恢复正常

时间: 2024-11-08 14:08:07

mysql: 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报错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

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)

导入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报错 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

Failed to load slave replication state from table mysql.gtid_slave_pos: 1146: Table &#39;mysql.gtid_slave_pos&#39; doesn&#39;t exist

http://anothermysqldba.blogspot.com/2013/06/mariadb-1003-alpha-install-on-fedora-17.html MariaDB 10.0.3 Alpha install on Fedora 17 x86_64 MariaDB 10.0.3 Alphawas just released. So for those of you that recall my previous MariaDB 5.5 install post, I d

MySQL 5.6 Reference Manual-14.6 InnoDB Table Management

14.6 InnoDB Table Management 14.6.1 Creating InnoDB Tables 14.6.2 Moving or Copying InnoDB Tables to Another Machine 14.6.3 Grouping DML Operations with Transactions 14.6.4 Converting Tables from MyISAM to InnoDB 14.6.5 AUTO_INCREMENT Handling in Inn

JDBC使用MYSQL的LOAD DATA LOACAL INFILE和LOAD DATA INFILE

MYSQL的LOAD方法都必须建立在mysql服务允许使用该命令的情况下: 开启该命令的方法: 1.在实例对应的my.cnf(windows为my.ini)中添加一行local-infile=1(默认好像是开启的),改为0即关闭,LOAD方式禁用. 2.加参数local-infile=1(默认是开启的,除非my.cnf中配置了禁止使用load才这样启动)启动mysql,"/usr/local/mysql/bin/mysqld_safe --user=mysql --local-infile=1

mysql中load data Infile运用

速度比insert要快20倍.共享一下java程序操作. package com.mysql.csv; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.SQLException; public class Competition { static Connection conn = null; static String dr