1)访问官网(mysql社区服务器) http://downloads.mysql.com/archives/community/
2)选择自己需要的版本和对应服务器(例如 服务器是centos 6.5,则 Select Platform 就选择 Red Hat Enterprise Linux / Oracle Linux)
3)对应自己服务器的版本和位数,选择相应的rpm包(mysql-server, mysql-devel, mysql-client),例如
MySQL Server
(MySQL-server-5.6.30-1.el6.x86_64.rpm) Development Libraries
(MySQL-devel-5.6.30-1.el6.x86_64.rpm) Client Utilities
(MySQL-client-5.6.30-1.el6.x86_64.rpm)
4)rpm 安装
rpm -ivh MySQL-server-5.6.30-1.el6.x86_64.rpm
rpm -ivh MySQL-devel-5.6.30-1.el6.x86_64.rpm
rpm -ivh MySQL-client-5.6.30-1.el6.x86_64.rpm
PS:如果报缺少 libnuma.so,就下载 http://mirror.centos.org/centos/6/os/x86_64/Packages/numactl-2.0.9-2.el6.x86_64.rpm 安装一下
rpm -ivh numactl-2.0.9-2.el6.x86_64.rpm
5)配置 mysql
待续