Migrating MariaDB databases from RHEL 8 to RHEL 9

Updated -

This article provides documentation resources for migrating MariaDB databases from Red Hat Enterprise Linux (RHEL) 8 to RHEL 9.

RHEL 8 includes the following MariaDB versions:

  • MariaDB 10.3 as the mariadb:10.3 module stream (the default stream; avaialble since RHEL 8.0)
  • MariaDB 10.5 as the mariadb:10.5 module stream (since RHEL 8.4)

RHEL 9 is distributed with:

  • MariaDB 10.5 as an RPM package (since RHEL 9.0)
  • Additional MariaDB versions will be provided as modules with a shorter life cycle in future minor releases of RHEL 9.

For detailed instructions on migration, see Migrating to MariaDB 10.5.

IMPORTANT: Before migration, back up all your data stored in the MariaDB databases. By default, all data is stored in the /var/lib/mysql/ directory on both the RHEL 8 and RHEL 9 systems.

Additional resources:

Comments