Installing MySQL5.7.4 with Yum

Source: Internet
Author: User

1, go to Yum's Repo folder

Cd/etc/yum.repos.d

The 2,mysql home page already provides the RPM files required by systems such as CentOS to go directly to the homepage for download.

I use the centos6.5, choose the version of Red Hat Enterprise linux 6/oracle Linux 6 (Architecture Independent), RPM package.

# wget http://hogehoge.com/mysql-community-release-el6-5.noarch.rpm
# RPM-IVH mysql-community-release-el6-5.noarch.rpm

After installing the rpm file in the/etc/yum.repos.d folder appears Mysql-community-source.repo, with vim to open the file. You can see that it contains 5.7 of the information, only the parameter enable=0, modified to enable=1, you can install the 5.7 version through Yum.

The next step is to stop the old version of MySQL service, then back up the database, modify permissions, delete the old version, install the new version directly with Yum.

Reference:

Http://blog.ybbo.net/2014/01/22/%E3%80%90%E3%82%B7%E3%83%B3%E3%83%97%E3%83%AB%E3%80%91centos6%E3%81%ABmysql5-6 %e3%82%92yum%e3%81%a7%e7%b0%a1%e5%8d%98%e3%81%ab%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81% 99%e3%82%8b/

http://www.seta-blog.co.jp/mysql-5-1-to-5-7/

Installing MySQL5.7.4 with 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.