How to migrate MySQL database to MariaDB in CentOS6

Source: Internet
Author: User
Tags gpg mysql version centos

The VPS operating system is CentOS 6, and the mysql version is 5.5.31 (the REMI source is used ).

A. Configure the installation source of MariaDB first.

Currently, the main version of MariaDB is MariaDB 5.5.33a Stable. Save the following installation source configuration as MariaDB. repo and upload it to the/etc/yum. repos. d folder on the server:

For CentOS 6 32 bit:

[Mariadb] name = MariaDB enable = 1 priority = 3 baseurl = http://yum.mariadb.org/5.5.33a/centos6-x86/ gpgkey = https://yum.mariadb.org/rpm-GPG-KEY-MariaDB gpgcheck = 1
For CentOS 6 64 bit:

[Mariadb] name = MariaDB enable = 1 priority = 3 baseurl = http://yum.mariadb.org/5.5.33a/centos6-amd64/ gpgkey = https://yum.mariadb.org/RPM-GPG-KEY-MariaDB gpgcheck = 1

B. Execute the system upgrade directly.

Yum update -- skip-broken

MariaDB-related installation packages will be installed, and unwanted MySQL packages will be uninstalled. You do not need to repair the system after the upgrade.

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.