Column count of mysql.user is wrong. Expected 43, found 42. Created with MySQL 50518, now running 50
Posted Oops!
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Column count of mysql.user is wrong. Expected 43, found 42. Created with MySQL 50518, now running 50相关的知识,希望对你有一定的参考价值。
出现问题:
Column count of mysql.user is wrong. Expected 43, found 42. Created with MySQL 50518, now running 50641. Please use mysql_upgrade to fix this error.
解决方法:
In my case, and following the recommendation of the error message, I ran: [email protected]-190877524-gm3j4:/# mysql_upgrade -uroot -p*** Checking if update is needed. Checking server version. Running queries to upgrade MySQL server. Checking system database. mysql.columns_priv OK mysql.db OK mysql.engine_cost OK mysql.event OK mysql.func OK mysql.general_log OK mysql.user OK Upgrading the sys schema. Checking databases. [...] Upgrade process completed successfully. Checking if update is needed. That solved everything.
以上是关于Column count of mysql.user is wrong. Expected 43, found 42. Created with MySQL 50518, now running 50的主要内容,如果未能解决你的问题,请参考以下文章
mysql问题: 1805 - Column count of mysql.user is wrong. Expected 45, found 43.
mysql问题: 1805 - Column count of mysql.user is wrong. Expected 45, found 43.
Column count of mysql.user is wrong. Expected 43, found 42. Created with MySQL 50518, now running 50
MySQL报错ERROR 1558 (HY000): Column count of mysql.user is wrong. Expected 43, found 39.
ERROR 3009 (HY000): Column count of mysql.user is wrong. Expected 45, found 43. Created with MySQL 5