# wget http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm
# rpm -ivh mysql-community-release-el7-5.noarch.rpm
# yum install mysql-community-server
centos 7 安装mysql
原文:http://www.cnblogs.com/jackylee92/p/5986615.html