centos下安装mysql5.5
1、下载mysql5.5 rpm
wget -c http://cdn.mysql.com/Downloads/MySQL-5.5/MySQL-5.5.40-1.el6.x86_64.rpm-bundle.tar
2、解压tar
tar -xvf MySQL-5.5.40-1.el6.x86_64.rpm-bundle.tar
3、开始安装mysql5.5
rpm -ivh MySQL-server-5.5.40-1.el6.x86_64.rpm MySQL-devel-5.5.40-1.el6.x86_64.rpm MySQL-client-5.5.40-1.el6.x86_64.rpm
4、启动mysql服务
service mysql start