发布时间: 2023-08-03 14:44:00
refer to: https://stackoverflow.com/questions/43846950/column-count-of-mysql-user-is-wrong-expected-42-found-44-the-table-is-probabl
ERROR 1805 (HY000): Column count of mysql.user is wrong. Expected 45, found 42. The table is probably corrupted
运行这个命令(重新设置一下 密码)就可以了。
mysql_upgrade --force -uroot -p