一、检查系统是否安装其他版本的MYSQL数据
yum list installed | grep mysql
yum -y remove mysql-libs.x86_64
二、安装及配置
wget http://repo.mysql.com/mysql-community-release-el6-5.noarch.rpm
rpm -ivh mysql-community-release-el6-5.noarch.rpm
yum repolist all | grep mysql
安装MYSQL数据库
yum install mysql-community-server -y
设置为开机启动
chkconfig --list | grep mysqld
chkconfig mysqld on
limux centos 用yum安装mysql 5.6数据库
最新推荐文章于 2024-08-23 17:37:15 发布