I am hoping craft supports MariaDB. Also, since version 10, InnoDB transaction engine in MariaDB has been replaced with XtraDB. Will this work with Craft?


Update: Craft 3 officially supports MariaDB 5.5+ now. https://docs.craftcms.com/v3/requirements.html

Not officially, no. MariaDB is supposed to a "drop-in" replacement for MySQL, but there are clearly areas where it is not 1:1 compatible with MySQL: https://mariadb.com/kb/en/mariadb/mariadb-vs-mysql-compatibility/

We've seen some installations using MariaDB where a query would actually return incorrect results and the same MySQL query on the same database returns that data correctly.

  • Thats unfortunate for me. I was planning to setup a local dev environment on my synology NAS box. It comes with all the requirements - Apache web server, php, phpadmin and until recently msql. It has replaced mysql in a recent software update with MariaDB. I wonder if the problems you mention above are resolved in version 10 of MariaDB ( They seem to have been existent on version 5 - way back). Oct 21 '14 at 18:45
  • Entirely possible. We saw a slew of MariaDB related support tickets maybe 8-12 months ago, but really haven't seen one in awhile.
    – Brad Bell
    Oct 21 '14 at 18:47
  • I wonder where I can poll the craft community to see if anyone has successfully used it with MariaDB 10 without any hiccups. Oct 21 '14 at 19:02
  • Either on Twitter with the #craftcms hashtag or the G+ group buildwithcraft.com/gplus should do it.
    – Brad Bell
    Oct 21 '14 at 19:03
  • Any update on official support on the latest versions @BradBell? Or plans for it?
    – Russ Back
    Apr 3 '16 at 20:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.