CentOS system MySQL Upgrade operation tutorial

Source: Internet
Author: User
Tags gpg centos

There are a number of third-party sources on the web, upgrade MySQL at the same time, will also upgrade PHP, if only want to upgrade MySQL look below
1,mysql Official Source Address

Http://repo.mysql.com/yum

The latest is 5.7, see your preferences decide which version to upgrade to.

2, add source file

# Vim/etc/yum.repos.d/mysql-community.repo
[Mysql55-community]
Name=mysql 5.5 Community Server
baseurl=http://repo.mysql.com/yum/mysql-5.5-community/el/6/$basearch/
Enabled=1
Gpgcheck=0
Gpgkey=file:///etc/pki/rpm-gpg/rpm-gpg-key-epel-6

If you update MySQL when the error, gpgcheck=0 set into 0,gpgkey in the/ETC/PKI/RPM-GPG directory there are a lot of random choose a

3, update MySQL

# yum Install MySQL

Related Article

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.