赞
踩
1、yum -y install wget 安装下命令
2、wget https://dev.mysql.com/get/mysql80-community-release-el7-7.noarch.rpm
3、下载好后解包rpm -ivh mysql80-community-release-el7-7.noarch.rpm
4、修改源文件
vim /etc/yum.repos.d/mysql-community.repo
5、生成缓存
yum makecache
6、安装
yum -y install mysql-community-server.x86_64.0.5.7.40-1.el7
7、查看安装结果
(这个是查看所有的的安装结果,这里只是安装mysql-community-server.x86_64,有一项就行)
rpm -qa | grep mysql
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。