Linux下安装mysql-5.7

一、下载Mysql

下载地址:https://dev.mysql.com/downloads/mysql/5.7.html#downloads

Linux下安装mysql-5.7

  二、环境配置

检测系统是否自带Mysql   rmp -qa|grep mysql

Linux下安装mysql-5.7

 如果有进行强行卸载  rpm -e --nodeps mysql-libs-5.1.52-1.el6_0.1.x86_64

Linux下安装mysql-5.7

检测系统是否自带mariadb   rpm -qa|grep mariadb

Linux下安装mysql-5.7

 Linux下安装mysql-5.7

 Linux下安装mysql-5.7

 用连接工具将下载的mysql-5.7.28-linux-glibc2.12-x86_64.tar.gz上传到linux服务器的/opt/mysql目录下面

 

相关推荐