一、检查系统是否安装其他版本的MYSQL数据yum list installed | grep mysqlyum -y remove mysql-libs.x86_64二、安装及配置wget http://repo.mysql.com/mysql-community-release-el6-5.noarch.rpmrpm -ivh mysql-community-release-el6-5.noarch.rpmyum repolist all | grep mysql安装MYSQL数据库yum install mysql-community-server -y设置为开机启动chkconfig --list | grep mysqldchkconfig mysqld on