centos 安装mysql

# 第一步
 wget -i -c https://repo.mysql.com//mysql80-community-release-el7-3.noarch.rpm

# 第二步
yum -y install mysql80-community-release-el7-3.noarch.rpm

# 第三步
yum -y install mysql-community-server

如果报错:
Unable to find a match: mysql-community-server

解决:
先执行:yum module disable mysql
再执行:yum -y install mysql-community-server
最后在执行:yum -y install mysql-community-server

  

 

posted @ 2020-06-05 17:43  Black_Climber  阅读(138)  评论(0编辑  收藏  举报