删除老版本mysql
|
1 |
yum remove mysql-libs |
清空dbcache
|
1 |
yum clean dbcache |
下载MySQL rpm安装包
|
1 |
wget http://repo.mysql.com/mysql-community-release-el6-5.noarch.rpm |
安装下载好的rpm文件
|
1 |
rpm -ivh mysql-community-release-el6-5.noarch.rpm |
安装
|
1 |
yum install mysql-community-server |
启动
|
1 |
service mysqld start |