About

The instruction is aimed to migrate existing databases running on MySQL to preferred MariaDB version.

Migration

To reduce downtime during migration you may install MariaDB as Docker container so both MariaDB and MySQL work simultaneously. For this you need:

  • Install Docker

  • Run script mysql_migrate.sh which does all work of database migration for you

Then, after successfully migrating to this MariaDB in Docker you may install MariaDB on host instead MySQL and migrate to it.

To view the MariaDB-in-container logs:

docker logs mariadb

To view the container status:

docker ps