-bash: mysql_upgrade: command not found

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

执行成功。

猜你喜欢

转载自blog.csdn.net/harryptter/article/details/79661787