wget http://repo.mysql.com/mysql-community-release-el6-5.noarch.rpm
rpm -ivh http://repo.mysql.com/mysql-community-release-el6-5.noarch.rpm
yum -y update
rm -rf /var/lib/mysql/ibdata1
rm -rf /var/lib/mysql/ib_logfile0
rm -rf /var/lib/mysql/ib_logfile1
service mysqld start
chkconfig –level 2345 mysqld on
一切就好了。