CentOS7中下载MySQL
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CentOS 7中,yum默认安装的是Mariadb,但我想使用MySQL,于是自己下载
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wget ftp://ftp.icm.edu.pl/vol/rzm3/linux-oracle-repo/OracleLinux/OL7/MySQL56/x86_64/mysql-community-client-5.6.34-2.el7.x86_64.rpm
wget ftp://ftp.icm.edu.pl/vol/rzm3/linux-oracle-repo/OracleLinux/OL7/MySQL56/x86_64/mysql-community-devel-5.6.34-2.el7.x86_64.rpm
wget ftp://ftp.icm.edu.pl/vol/rzm3/linux-oracle-repo/OracleLinux/OL7/MySQL56/x86_64/mysql-community-libs-5.6.34-2.el7.x86_64.rpm
wget ftp://ftp.icm.edu.pl/vol/rzm3/linux-oracle-repo/OracleLinux/OL7/MySQL56/x86_64/mysql-community-common-5.6.34-2.el7.x86_64.rpm
wget dev.mysql.com/pub/Downloads/MySQL-5.7/mysql-community-devel-5.7.24-1.el7.x86_64.rpm
wget dev.mysql.com/pub/Downloads/MySQL-5.7/mysql-community-libs-5.7.24-1.el7.x86_64.rpm
根据自己的情况,选择安装5.6还是5.7。