mysql 5.1升级到5.5 出现1547 column count of mysql.user is wrong错误。
执行mysql_upgrade修复表就可以了。
执行过程出了问题,显示-bash: mysql_upgrade: command not found
cd /usr/local/mysql/bin
./mysql_upgrade -uroot -pxxxxxx
执行成功。
本文记录了从MySQL5.1升级到5.5过程中遇到的1547columncountofmysql.useriswrong错误,并详细介绍了如何通过执行mysql_upgrade命令来修复该问题。
mysql 5.1升级到5.5 出现1547 column count of mysql.user is wrong错误。
执行mysql_upgrade修复表就可以了。
执行过程出了问题,显示-bash: mysql_upgrade: command not found
cd /usr/local/mysql/bin
./mysql_upgrade -uroot -pxxxxxx
执行成功。

被折叠的 条评论
为什么被折叠?