下载地址http://dev.mysql.com/downloads/mysql/
选择Red Hat Enterprise后下载对应操作系统版本的RPM Package
例如针对6.5 x64版本 http://repo.mysql.com/mysql-community-release-el6-5.noarch.rpm
wget http://repo.mysql.com/mysql-community-release-el6-5.noarch.rpm
rpm -ivh mysql-community-release-el6-5.noarch.rpm 安装yum源
yum install mysql mysql-server mysql-devel
chkconfig mysqld on #设置自动启动
/etc/init.d/mysqld start #启动mysql服务
/usr/bin/mysql_secure_installation #首次安装后设置密码