[Mysql] yum安装mysql-client客户端(centos7)


本文总阅读量

1、配置yum源

1
2
3
4
5
6
echo "[mysql80-community]
name=MySQL 8.0 Community Server
baseurl=http://repo.mysql.com/yum/mysql-8.0-community/el/7/\$basearch/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql" > /etc/yum.repos.d/mysql-community.repo

2、查看配置文件是否正确:

1
more /etc/yum.repos.d/mysql-community.repo

3、安装mysql-client:

1
2
yum clean all
yum install mysql-community-client
目录
  1. 1. 1、配置yum源
  2. 2. 2、查看配置文件是否正确:
  3. 3. 3、安装mysql-client:

Proudly powered by Hexo and Theme by Lap
本站访客数人次
© 2020 zeven0707's blog