1.下载安装包 rpm -Uvh http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm 查看文件 yum repolist enabled | grep "mysql.*-community.*" 3.安装 yum install mysql-community-server 按几次y安装组件 4.启动进程 systemctl start mysqld 5.开始配置 mysql_secure_installation