标签:com linux .repo bsp roo 没有 source mysql class
1、下载mysql的repo源
[root@master ~]# wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
2、安装mysql-community-release-el7-5.noarch.rpm包
[root@master ~]# rpm -ivh mysql-community-release-el7-5.noarch.rpm
3、查看安装的MySQ源
[root@master ~]# ls -1 /etc/yum.repos.d/mysql-community* /etc/yum.repos.d/mysql-community.repo /etc/yum.repos.d/mysql-community-source.repo
会获得两个mysql的yum repo源:/etc/yum.repos.d/mysql-community.repo,/etc/yum.repos.d/mysql-community-source.repo。
4、安装
yum install mysql-server
[linux]centos7下解决yum install mysql-server没有可用包
标签:com linux .repo bsp roo 没有 source mysql class
原文地址:https://www.cnblogs.com/weidaijie/p/9574364.html