How to Install MySQL 5.7 on Centos/RHEL 6.X/7.X
Step 1: Save the Repo File for The MySql 5.7 or Install the RPM for Mysql 5.7 vi /etc/yum.repos.d/mysql-community.repo [mysql57-community] name=MySQL 5.7 Community Server baseurl=http://repo.mysql.com/yum/mysql-5.7-community/el/6/$basearch/ enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql — save n quit (:wq) — or, ————— On RHEL/CentOS 7 ————— wget http://dev.mysql.com/get/mysql57-community-release-el7-7.noarch.rpm yum localinstall mysql57-community-release-el7-7.noarch.rpm ————— On RHEL/CentOS 6 ————— wget http://dev.mysql.com/get/mysql57-community-release-el6-7.noarch.rpm yum localinstall mysql57-community-release-el6-7.noarch.rpm …