The process of installing the specified version of MySQL under the CentOS yum

Source: Internet
Author: User
The Linux installation of the specified version of MySQL is a difficult thing, yum installation is generally installed mysql5.1, now through their tireless efforts to finally be able to install mysql5.5 with Yum,

1. Installing the mysql-5.5 Yum source

RPM-IVH http://repo.mysql.com/yum/mysql-5.5-community/el/6/x86_64/mysql-community-release-el6-5.noarch.rpm

2. Modify the installed Yum source

Edit/etc/yum.repos.d/mysql-community.repo file, change 5.5 to 1,5.6 enabled to 0

3. Installing mysql-5.5

Yum Install mysql-community-client mysql-community-devel mysql-community-server

4. Go to MySQL

/usr/bin/mysql_secure_installation Modify the MySQL password you need

The process of installing the specified version of MySQL under the CentOS yum

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.