Environment: Rhel6.5 mysql5.6
1. Download the yum source for MySQL, address http://dev.mysql.com/downloads/repo/yum/
650) this.width=650; "src=" http://s2.51cto.com/wyfs02/M00/79/47/wKiom1aNL96yZE3bAAJ77V-Ibkc700.jpg "title=" 1.jpg " Width= "720" height= "214" border= "0" hspace= "0" vspace= "0" style= "width:720px;height:214px;" alt= " Wkiom1anl96yze3baaj77v-ibkc700.jpg "/>
2. Upload to the System/root/directory
650) this.width=650; "src=" http://s2.51cto.com/wyfs02/M01/79/45/wKioL1aNMIDBlgr4AABeV5FKjkk821.jpg "title=" 2.jpg " Width= "720" height= "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:720px;height:33px; "alt=" Wkiol1anmidblgr4aabev5fkjkk821.jpg "/>
3.RPM Installation
RPM-IVH mysql57-community-release-el6-7.noarch.rpm
4. Modify the Yum source for MySQL
650) this.width=650; "src=" http://s1.51cto.com/wyfs02/M00/79/46/wKioL1aNMRej5cq-AADUvkv4QKc768.jpg "title=" 3.jpg " alt= "Wkiol1anmrej5cq-aaduvkv4qkc768.jpg"/>
Vim Mysql-community.repo
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/79/47/wKiom1aNMVehbqDaAAAmI-nEOsM925.png "title=" 5.png " alt= "Wkiom1anmvehbqdaaaami-neosm925.png"/>
Note : enable=0 is disabled, since the version 5.6 is installed, you need to modify the enable in the 5.7 version below to 0
5.yum Installation
Yum Install-y mysql-community-server
Note : Before this step, verify that MySQL is not installed in the system
6. Start the service
Service mysqld Start
At this point, the installation is complete!
This article from "Experience from pain" blog, declined reprint!
Linux Yum installation mysql5.6