centos7.4安装mysql
yum -y install mysql mysql-server mysql-devel
mysql-server报错:No package mysql-server available,另外两个没问题
直接从官网安装mysql-server
wget http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm
rpm -ivh mysql-community-release-el7-5.noarch.rpm
yum install mysql-community-server
执行 service mysqld start
显示Redirecting to /bin/systemctl start mysqld.service 表示成功开启mysql服务
或者执行 systemctl start mysqld.service
执行mysql进入界面