作者:技术工程师--陈锐锐
前言:因工作需要,整理Linux系统下安装MySQL5.6版本系列。
1.下载安装包
下载地址:https://downloads.mysql.com/archives/community/
下载安装包 :mysql-5.6.30-linux-glibc2.5-x86_64.tar.gz
2.卸载其他
[root@localhost ~]# rpm -qa |grep mariadb
mariadb-libs-5.5.44-2.el7.x86_64
mariadb-server-5.5.44-2.el7.x86_64
mariadb-5.5.44-2.el7.x86_64
[root@localhost ~]# rpm -e --nodeps mariadb-libs-5.5.44-2.el7.x86_64 mariadb-server-5.5.44-2.el7.x86_64 mariadb-5.5.44-2.el7.x86_64
[root@localhost ~]# rpm -qa |grep mariadb
3.解压建组
[root@localhost etc]# cd /usr/local/
[root@localhost local]# rz
rz waiting to receive.
Starting zmodem transfer. Press Ctrl+C to cancel.
Transferring mysql-5.6.30-linux-glibc2.5-x86_64.tar.gz...
100% 307219 KB 18071 KB/sec 00:00:17 0 Errors
-->安装包上传方式不必一样,能上传