这种错误是由于你曾经升级过数据库,升级完后没有使用
mysql_upgrade升级数据结构造成的。
解决办法:
使用mysql_upgrade命令
root@localhost ~]# mysql_upgrade -u root -p youpassword
Column count of mysql.user is wrong. Expected 51, found 45. The table is probably corrupted
未经允许不得转载:阿锋哥前端开发经验分享 » Column count of mysql.user is wrong. Expected 51, found 45. The table is probably corrupted