1548-Cannot load from mysql.proc.The table is probably corrupted解決
同事發郵件說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: mysql
Looking for 'mysqlcheck' as: mysqlcheck
Running '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 OK
mysql.db OK
mysql.event OK
mysql.func OK
mysql.general_log OK
mysql.help_category OK
mysql.help_keyword OK
mysql.help_relation OK
mysql.help_topic OK
mysql.host OK
mysql.ndb_binlog_index OK
mysql.plugin OK
mysql.proc OK
mysql.procs_priv OK
mysql.proxies_priv OK
。。。。。。。。。。。。。。。。。。。。
mysql.user OK
test.test OK
Running 'mysql_fix_privilege_tables'...
OK
當出現許多ok之後,基本上就修復完畢。告知同事,查詢ok。