MARIADB Minor Version upgrade 10.1.22-10.1.26

Source: Internet
Author: User

First, the reason for the upgrade

DB is often crash because of version bugs. The reason may be that the INNODB uses new statistical information collection issues.

Related pages: https://jira.mariadb.org/browse/MDEV-12281

https://bugs.mysql.com/bug.php?id=84940


Second, upgrade the environment

Linux:centos 7

Architecture: one Master one from

The MARIADB,SYSTEMD boot is installed using the RPM Yum method.


Third, upgrade steps

1, download mariadb 10.1.26 rpm package, unzip to the server

2. Close the database

# systemctl Stop MySQL

3, the condition allows, the copy of a data directory

4. Backup configuration file My.cnf

5. Upgrade version

# yum Install mariadb-10.1.26-centos7-x86_64-server.rpm mariadb-10.1.26-centos7-x86_64-client.rpm mariadb-10.1.26-centos7-x86_64-common.rpm mariadb-10.1.26-centos7-x86_64-shared.rpm

6, restore the configuration file my.cnf, start the database

7, the implementation of Mysql_upgrade

# mysql_upgrade-uroot-p

8, the same way, restore the main library.


The above method only applies to the state of the service allowing a few minutes of downtime. No technical content, official upgrade program: https://mariadb.com/kb/en/mariadb/upgrading-between-minor-versions-of-mariadb/



This article is from the "11570138" blog, please be sure to keep this source http://11580138.blog.51cto.com/11570138/1956408

MARIADB Minor Version upgrade 10.1.22-10.1.26

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.