咨询热线:4006-75-4006
售前:9:00-23:30 备案:9:00-18:00 技术:7*24h
MySQL升级后,启动,报错Column count of mysql.db is wrong. Expected 22, found 20. Created with MySQL 50077, now running 50511. Please use mysql_upgrade to fix this error.
我们可以尝试按照下面的步骤进行解决:
执行mysql_upgrade,可能会提示
help_category 和 help_keyword需要被修复
修复上面两张表
执行 REPAIR TABLE mysql.help_category;
执行 REPAIR TABLE mysql.help_keyword;
再次运行(强制执行)
mysql_upgrade --force