一. mysql下载
1.1 清理centos7内置数据库
//查询mariadb的版本信息
rpm -qa | grep mariadb
//卸载数据库
yum remove mariadb-libs-5.5.68-1.el7.x86_64 -y
1.2.1 mysql 下载 (方式一)
官网下载:MySQL :: Download MySQL Community Server (Archived Versions)
网盘下载:https://pan.baidu.com/s/1hNLa6Trwk7tI0NMEsAGNbQ?pwd=gsks
提取码:gsks
1.2.2 mysql源下载(方式二)
wget https://dev.mysql.com/get/mysql80-community-release-el7-3.noarch.rpm
//安装mysql源
sudo