首页 > 代码库 > centos安装mysql5.6的正确姿态

centos安装mysql5.6的正确姿态

yum remove mariadb-libs-5.5.35-3.el7.x86_64

yum install -y perl-Module-Install.noarch

要以非root用户运行

chown -R mysql.mysql /var/lib/mysql/

/usr/bin/mysql_install_db
service mysql start

centos安装mysql5.6的正确姿态