Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

How to downgrade MariaDB or MySQL

Дата публикации: 21-05-2024 09:54:14

On this page we have summarised information about downgrading a MariaDB/MySQL database. We do not cover migrating from MySQL to MariaDB or vice versa. For migrations (sidegrade) please look here: MySQL - MariaDB migration and here: Migration between MySQL/Percona Server and MariaDB.
The downgrade process tends to be neglected because nobody really wants to do it. So we are in swampy territory here. Unforeseen situations can occur very easily and good preparation is essential.
I can think of the following possible options for the downgrade:
Restore the backup that was made BEFORE the upgrade began.
Binary inplace downgrade (which is NOT supported in many cases).
Dump (mariadb-dump/mysqldump) of the upgraded database and restore (mariadb/mysql) to the old version (logical backup/restore).
Master/slave replication (with Statement Based Replication (SBR) or Row Based Replication (RBR)) and fallback to the slave with the old version.
Partial Backup/Restore with mariadb-backup/xtrabackup (Transportable Tablespace (TTS) method).
All these options have their advantages and disadvantages and must be carefully tested in advance.
Downgrade MariaDB
Downgrade MariaDB
Downgrading between Major Versions of MariaDB
Downgrading MariaDB is not officially supported between major versions.
First sentence in Downgrading between Major Versions of MariaDB by MariaDB Foundation.
FromDual says: But it usually works. Downgrading from minor versions practically always works.
Physical (in-place) downgrade NOT possible:
From version
To version
11.0 or later
to 10.4 or earlier: NOT possible
11.0 or later
to 10.5 or later: Possible with restrictions
10.8 or later
unclear description
10.5
to 10.4: With restrictions
10.5
to 10.3: With restrictions or problems
10.3
to 10.2: With restrictions
In addition:
Andrew Hutchings, MariaDB Foundation, 17. Mai 2024: MariaDB Dump File Compatibility Change
Downgrade …
How to downgrade MariaDB or MySQL appeared first on MariaDB.org


Основное содержимое страницы с новостью.

How to downgrade MariaDB or MySQL

Tue, 2024-05-21 09:54Shinguz

On this page we have summarised information about downgrading a MariaDB/MySQL database. We do not cover migrating from MySQL to MariaDB or vice versa. For migrations (sidegrade) please look here: MySQL - MariaDB migration and here: Migration between MySQL/Percona Server and MariaDB.

The downgrade process tends to be neglected because nobody really wants to do it. So we are in swampy territory here. Unforeseen situations can occur very easily and good preparation is essential.

I can think of the following possible options for the downgrade:

  • Restore the backup that was made BEFORE the upgrade began.
  • Binary inplace downgrade (which is NOT supported in many cases).
  • Dump (mariadb-dump/mysqldump) of the upgraded database and restore (mariadb/mysql) to the old version (logical backup/restore).
  • Master/slave replication (with Statement Based Replication (SBR) or Row Based Replication (RBR)) and fallback to the slave with the old version.
  • Partial Backup/Restore with mariadb-backup/xtrabackup (Transportable Tablespace (TTS) method).

All these options have their advantages and disadvantages and must be carefully tested in advance.

Downgrade MariaDB

Downgrading MariaDB is not officially supported between major versions.

First sentence in Downgrading between Major Versions of MariaDB by MariaDB Foundation.

FromDual says: But it usually works. Downgrading from minor versions practically always works.

Physical (in-place) downgrade NOT possible:
From versionTo version
11.0 or laterto 10.4 or earlier: NOT possible
11.0 or laterto 10.5 or later: Possible with restrictions
10.8 or laterunclear description
10.5to 10.4: With restrictions
10.5to 10.3: With restrictions or problems
10.3to 10.2: With restrictions

In addition:

Downgrade MySQL

Downgrade from MySQL 8.0 to MySQL 5.7, or from a MySQL 8.0 release to a previous MySQL 8.0 release, is not supported. The only supported alternative is to restore a backup taken before upgrading. It is therefore imperative that you back up your data before starting the upgrade process.

First and only sentence in Downgrading MySQL (8.0) by Oracle Corp.

tags: 

Схожие новости

#Наименование новостиТональностьИнформативностьДата публикации
1Upgrading Between Major MariaDB Versions05.4816-04-2020
2Upgrading MariaDB to the pre-latest minor release07.4608-02-2023
3Installing the Latest MariaDB from the Repository on Debian 10 and Downgrading to Older Minor Version05.929-11-2020
4Partial physical database restore for MariaDB and MySQL05.6402-07-2024
5What mysql_upgrade really does in MariaDB, Part II, Bugs and Missing Features09.826-01-2021
6Grokking the MariaDB test runner (MTR)06.7719-02-2023
7Sysbench vs MariaDB on a small server: using the same charset for all versions08.3206-04-2026
8FromDual Backup and Recovery Manager for MariaDB and MySQL 2.3.1 has been released03.7712-08-2024
9FromDual Backup and Recovery Manager for MariaDB and MySQL 2.3.2 has been released04.1622-10-2025
10MariaDB has broken the concept of dynamically configurable buffer pools!010.1809-02-2026

Классификация: . Схожих патентов: 0. Схожих новостей: 10. Тональность: 0. Информативность: 6.01. Источник: mariadb.org.