您好,登錄后才能下訂單哦!
[root@mydb1 backup]# rpm -qa |grep mysql*
[root@mydb1 backup]# yum -y remove mysql-libs-5.1.73-5.el6_6.x86_64
MySQL-6.30 Yum Repository
rhel6
http://repo.mysql.com//mysql57-community-release-el6-8.noarch.rpm
rhel7
http://repo.mysql.com//mysql57-community-release-el7-8.noarch.rpm
MySQL Yum源官方說明:
http://dev.mysql.com/doc/mysql-yum-repo-quick-guide/en
# Enable to use MySQL 5.7
[mysql57-community]
name=MySQL 5.7 Community Server
baseurl=http://repo.mysql.com/yum/mysql-5.7-community/el/6/$basearch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
# Enable to use MySQL 5.6
[mysql56-community]
name=MySQL 5.6 Community Server
baseurl=http://repo.mysql.com/yum/mysql-5.6-community/el/6/$basearch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
下載rpm完整包安裝MySQL
[root@mydb1 backup]# wget http://cdn.mysql.com//Downloads/MySQL-5.6/MySQL-5.6.30-1.el6.x86_64.rpm-bundle.tar
[root@mydb1 backup]# tar -xvf MySQL-5.6.30-1.el6.x86_64.rpm-bundle.tar
[root@mydb1 backup]# rpm -pql MySQL-server-5.6.23-1.el6.x86_64.rpm | more免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。