yum安装Mysql-5.6

时间:2022-08-15 10:23:23

MySQL yum库提供了一个简单的和方便的方法来安装和更新MySQL相关的软件包到最新版本。

MySQL yum库文档说明:http://dev.mysql.com/doc/mysql-yum-repo-quick-guide/en/

MySQL yum库支持的平台有:

  • Red Hat Enterprise Linux 7 / Oracle Linux 7
  • Red Hat Enterprise Linux 6 / Oracle Linux 6
  • Red Hat Enterprise Linux 5 / Oracle Linux 5
  • Fedora 18, 19, and 20

MySQL yum库包括最新的软件包有:

  • MySQL 5.6 (GA)
  • MySQL 5.7 (Development Release)
  • MySQL 5.5 (GA – Red Hat Enterprise Linux and Oracle Linux Only)
  • MySQL Workbench
  • MySQL Fabric
  • MySQL Utilities
  • MySQL Connector / ODBC
  • MySQL Connector / Python

RHEL7/CentOS7/Oracle linux7:

1
# rpm -Uvh http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm

RHEL6/CentOS6/Oracle linux6:

1
# rpm -Uvh http://dev.mysql.com/get/mysql-community-release-el6-5.noarch.rpm

RHEL5/CentOS5/Oracle linux5:

1
# rpm -Uvh http://dev.mysql.com/get/mysql-community-release-el5-5.noarch.rpm

Fedora

1
2
3
4
5
6
7
8
# Fedora20
# rpm -Uvh http://dev.mysql.com/get/mysql-community-release-fc20-5.noarch.rpm
 
#Fedora19
# rpm -Uvh http://dev.mysql.com/get/mysql-community-release-fc19-5.noarch.rpm
 
# Fedora18
# rpm -Uvh http://dev.mysql.com/get/mysql-community-release-fc18-5.noarch.rpm