How to migrate from MySQL to MariaDB without tears Q&A
summary
Migration works smoothly only up to MySQL 5.7; migrating from MySQL 8.0 hits the incompatible new data dictionary and default utf8 collation, so dumps fail unless table collations are changed first. Global transaction IDs are different and not interoperable, so mixed MySQL↔MariaDB GTID replication and multi-master setups break. Engine differences (MariaDB uses Aria vs MyISAM/InnoDB in MySQL) matter. Typical tools are mysqldump / mariadb-dump with explicit collation and engine adjustments before import.
AI-written summary · about
