Linux under Yum installation mysql5.6

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.