环境
ubuntu18.04
mysql5.7.20的tar格式安装包
下载安装包并解压
官网:https://dev.mysql.com/downloads/mysql/
我的百度网盘:https://pan.baidu.com/s/1sLUlYlHgKdC-4Tko3d_spQ
我的CSDN下载(推荐):https://download.csdn.net/download/Ezreal2019/12015501
下载后将安装包放入/usr/server
赋予可执行权限
sudo chmod +x mysql5.7.20.tar.gz
解压:
tar -xf mysql5.7.20.tar.gz
解压后ls查看有如下文件:
libmysqlclient20_5.7.10-1ubuntu14.04_amd64.deb
libmysqlclient-dev_5.7.20-1ubuntu14.04_amd64.deb
libmysqld-dev_5.7.20-1ubuntu14.04_amd64.deb
mysql-client_5.7.20-1ubuntu14.04_amd64.deb
mysql-common_5.7.20-1ubuntu14.04_amd64.deb
mysql-community-client_5.7.20-