首页 > 代码库 > RPM安装MySQL

RPM安装MySQL

# wget http://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.15-1.el6.x86_64.rpm-bundle.tar

# tar xvf mysql-5.7.15-1.el6.x86_64.rpm-bundle.tar

# yum remove mysql-libs

# rpm -ivh mysql-community-common-5.7.15-1.el6.x86_64.rpm

# rpm -ivh mysql-community-libs-5.7.15-1.el6.x86_64.rpm

# rpm -ivh mysql-community-client-5.7.15-1.el6.x86_64.rpm

# rpm -ivh mysql-community-server-5.7.15-1.el6.x86_64.rpm

到这里就安装完成了。下面还需要设置MySQL

RPM安装MySQL