[Mysql] yum安装mysql-client客户端(centos7) 2018-10-25 本文总阅读量次 1、配置yum源123456echo "[mysql80-community]name=MySQL 8.0 Community Serverbaseurl=http://repo.mysql.com/yum/mysql-8.0-community/el/7/\$basearch/enabled=1gpgcheck=0gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql" > /etc/yum.repos.d/mysql-community.repo 2、查看配置文件是否正确:1more /etc/yum.repos.d/mysql-community.repo 3、安装mysql-client:12yum clean allyum install mysql-community-client