标签:
到mysql社区安装当前可用包
CentOS 7 命令
# rpm -Uvh http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm
CentOS 6.5 命令
# rpm -Uvh http://dev.mysql.com/get/mysql-community-release-el6-5.noarch.rpm
查看当前可用的mysql安装资源
# yum repolist enabled | grep "mysql.*-community.*"
mysql-connectors-community/x86_64 MySQL Connectors Community 14
mysql-tools-community/x86_64 MySQL Tools Community 17
mysql56-community/x86_64 MySQL 5.6 Community Server 139
mysql56-community/x86_64
和 MySQL 5.6 Community Server
可以使用。
# yum -y install mysql-community-server
安装完成后,查看版本
# mysql -V
标签:
原文地址:http://www.cnblogs.com/jie-hu/p/5950611.html