mysql 5.1 升级到5.6
需先卸载mysql-libs(会有依赖也卸掉,可后补上,mysql的内容不会丢失,数据量不大的尽量备份下)
# yum remove mysql-libs
# rpm -i mysql-server-5.6 mysql-devel-5.6 mysql-client-5.6
# service mysql start
# mysql_upgrade -u root -p'xxxx' (需对mysql执行upgrade,否则无法正常操作)
本文转自linuxb博客51CTO博客,原文链接http://blog.51cto.com/yangzhiming/1977678如需转载请自行联系原作者
yangzhimingg