1、MySQL rpm包安装 # 下载安装源 [root@localhost src]# wget https://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm # 安装源 [root@localhost src]# rpm -ivh mysql-community-release-el7-5.noarch.rpm 2、MySQL yum工具安装 [root@localhost /]# yum install -y mysql-community-server # 查看安装后的文件路径 [root@localhost