1548-Cannot load from mysql.proc. The table is probably corrupted

来源:互联网 发布:连云港市网络教 编辑:程序博客网 时间:2024/05/21 15:41

公司接手其他公司网站navicat查询数据库,报错:1548-Cannot load from mysql.proc. The table is probably corrupted
数据库没有升级,mysql_upgrade -uroot -p 修复升级

[root@db2343 ~]# mysql_upgrade -uroot Looking for 'mysql' as: mysqlLooking for 'mysqlcheck' as: mysqlcheckRunning 'mysqlcheck' with connection arguments: '--port=3306' '--socket=/my/base/mysql.sock' Running 'mysqlcheck' with connection arguments: '--port=3306' '--socket=/my/base/mysql.sock'     。。。。。。。。。。。。。。。。。。。mysql.columns_priv                                 OKmysql.db                                           OKmysql.event                                        OKmysql.func                                         OKmysql.general_log                                  OKmysql.help_category                                OKmysql.help_keyword                                 OKmysql.help_relation                                OKmysql.help_topic                                   OKmysql.host                                         OKmysql.ndb_binlog_index                             OKmysql.plugin                                       OKmysql.proc                                         OKmysql.procs_priv                                   OKmysql.proxies_priv                                 OK。。。。。。。。。。。。。。。。。。。。mysql.user                                         OKtest.test                                          OKRunning 'mysql_fix_privilege_tables'...OK

当出现许多ok之后,基本上就修复完毕。查询ok。

阅读全文
0 0