在centos7上安装mysql,发现不能直接使用yum安装,可通过以下几个步骤安装:
1. wget http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm
2. rpm -ivh mysql-community-release-el7-5.noarch.rpm
3. yum install mysql-community-server
4. service mysqld restart
在centos7上安装mysql,发现不能直接使用yum安装,可通过以下几个步骤安装:
1. wget http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm
2. rpm -ivh mysql-community-release-el7-5.noarch.rpm
3. yum install mysql-community-server
4. service mysqld restart