Migrate WP 5 Site From MySQL to MariaDB


Please bump if this should go in the ‘Databases’ Category.

I’m considering migrating my WordPress sites away from MySQL(i) to use MariaDB, but I’m not sure what is the best method to migrate.

For testing purposes, I am using Wampserver and can successfully import a MySQL(i) dbase into MariaDB, but how does WordPress determine which server type to use (I have both MySQL(i) and MariaDB installed)?

Appreciate some insight.

Thank you.


MariaDB is a drop in replacement. You shouldn’t have to change anything. Well, the connection credentials and hostname but you would have to do that anyways.