1.下载MySQL5.7.18的rpm包
2.解压压缩包,解压出来的包里有如下几个rpm包:
mysql-community-common-5.7.18-1.el6.x86_64.rpm
mysql-community-libs-5.7.18-1.el6.x86_64.rpm --(依赖于common)
mysql-community-client-5.7.18-1.el6.x86_64.rpm --(依赖于libs)
mysql-community-server-5.7.18-1.el6.x86_64.rpm --(依赖于client、common)
3.最简单的安装mysql-server服务,只需要安装如下4个软件包即可,使用rpm -ivh命令进行安装
[root@