MySQL VS Mariadb

Good evening to everybody!
I would like to find out which database is best to use for Magento 2. My understanding Magento uses only MySQL features supported by Mariadb.
Please which database will be best for MAGENTO 2 and why?

Based on the below extract from the Magento Official Documentation, I would conclude that Adobe/Magento want you to use MySQL on-preimse (even though it only uses functions compatible with MariaDB).

Therefore, I would put money on MariaDB being pulled completely so that they can utilise all that MySQL has to offer.

Not fact, just an opinion.


  • MySQL 8.0 for on-premise installations
  • MariaDB 10.4 for Magento Commerce Cloud projects
    Magento is also compatible, but has not been tested and is not recommended, with MySQL 5.7.9, MariaDB 10.2, and Percona 5.7.

Magento only uses MySQL features compatible with MariaDB. MariaDB may not be compatible with all MySQL features, however; so be sure to research compatibility issues before using a feature in your Magento module. Reindexing on MariaDB 10.4 takes more time compared to other MariaDB or MySQL versions.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.