一、檢查系統(tǒng)是否安裝其他版本的MySQL數(shù)據(jù) yum list installed | grep mysql yum -y remove mysql-libs.x86_64 二、安裝及配置 wget http://repo.mysql.com/mysql-community-release-el6-5.noarch.rpm rpm -ivh mysql-community-release-el6-5.noarch.rpm yum repolist all | grep mysql 安裝MYSQL數(shù)據(jù)庫 yum install mysql-community-server -y 設(shè)置為開機(jī)啟動(dòng) chkconfig --list | grep mysqld chkconfig mysqld on