I. Installing the yum source with MySQL configuration
# Install the Yum source for MySQL, below is the RHEL6 series of RPM-UVH http://dev.mysql.com/get/mysql-community-release-el6-5.noarch.rpm# Installing Yum-config-manageryum Install yum-utils-y# disable MySQL5.6 source Yum-config-manager--disable mysql56-community# Enable MySQL5.7 source Yum-config-manager--enable mysql57-community-dmr# Use the following command to see if the configuration is correct yum repolist enabled | grep MySQL
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/57/5A/wKioL1SY183ToG_4AAEh07Jk3jc235.jpg "title=" Rpeolist.png "alt=" Wkiol1sy183tog_4aaeh07jk3jc235.jpg "/>
Check if there is a mysql57-community-dmr this source, as shown in.
Second, yum installation MySQL5.7
# Installing Mysql5.7yum Install Mysql-community-server
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/57/5D/wKiom1SY15Kwk6pHAARS3FhtC9w643.jpg "title=" yum Install.png "alt=" Wkiom1sy15kwk6phaars3fhtc9w643.jpg "/>
Third, start MySQL
# Disable Selinuxsetenforce 0sed-i '/^selinux=/c\selinux=disabled '/etc/selinux/config # start mysqld, modify/etc/before starting MY.CNF configuration file, this document is configured with the default. Service mysqld Start
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/57/5D/wKiom1SY2NChgneUAAvRkNpLAXY980.jpg "title=" 1.png " alt= "Wkiom1sy2nchgneuaavrknplaxy980.jpg"/>
Iv. connecting MySQL and changing the password
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/57/5E/wKiom1SY6L2Tjmb6AAWhSSzlKQM824.jpg "title=" set Passwd.png "alt=" Wkiom1sy6l2tjmb6aawhsszlkqm824.jpg "/>
Resources:
Http://dev.mysql.com/doc/refman/5.7/en/linux-installation-yum-repo.html
This article is from the "Start Linux blog" blog, reproduced please contact the author!
Install MySQL5.7 with the Yum source of MySQL