Linux安装 MySql
1. 下载mysql-5.7.18-1.el7.x86_64.rpm-bundle.tar,下载链接参考 :https://dev.mysql.com/downloads/file/?id=469456 2.将下载好的mysql文件导入进去虚拟机 (1)删除虚拟机自带的的mariadb-lib; # rpm -qa | grep mariadb mariadb-libs-5.5.41-2.el7_0.x86_64 # rpm -e mariadb-libs-5.5.41-2.el7_0.x86_64 --nodeps (2)解压mysql文件 # tar -xvf mysql-5.7.18