Asset 20 8 2
Does AI recommend your business? Run the free check →

Join 15,000 business owners, marketers and entrepreneurs. The Sunday newsletter you'll be annoyed only arrives once a week.

Article

MariaDB vs MySQL: Compatibility, Licences and Who Runs Them

MariaDB was created by the original developers of MySQL and is guaranteed to stay open source under GPLv2, while MySQL is developed, distributed and supported by Oracle with free and paid editions. For years MariaDB was a drop-in replacement for MySQL, but its own docs say that was only true up to version 5.5; since then, moving from MySQL is usually still easy, with binary compatible data files and client protocol. Pick MariaDB for community governance and extra storage engines, and MySQL for Oracle's editions and HeatWave cloud service.

These two share a history, so the differences hide in the details. I read the MariaDB Foundation's about and in-brief pages, MariaDB's compatibility notes and the MySQL 8.4 manual and product pages to pull them out.

MariaDB and MySQL side by side

MariaDBMySQL
Who's behind itMariaDB Foundation, made by MySQL's original developersOracle Corporation
LicenceGPLv2, guaranteed to stay open sourceGPL, plus a commercial licence on sale
Drop-in replacementUp to MariaDB 5.5; usually easy to upgrade sinceNot applicable
Storage enginesInnoDB, Galera cluster, ColumnStore, Mroonga, S3 and moreNot compared on the pages I read
Other-database modesSQL_MODE=ORACLE and SQL_MODE=MSSQLNone mentioned on the pages I read
Company alongside itMariaDB Corporation, separate from the foundationOracle sells Enterprise, Standard and Classic editions and HeatWave
Notable usersWikipedia, WordPress.com and Google, per MariaDBDescribed as the most popular open source SQL database

The drop-in myth, straight from MariaDB's docs

The usual shorthand is that MariaDB is a drop-in replacement for MySQL. MariaDB's own compatibility page is more careful: until MariaDB 5.5, its versions functioned as a drop-in replacement for the equivalent MySQL version, with some limitations. From MariaDB 10.0 onwards it's usually still very easy to upgrade from MySQL, because data files are generally binary compatible, file names and paths are the same and the client protocol is binary compatible.

The same docs now list incompatibilities and feature differences between MariaDB's long-term releases, such as 10.11, 11.4 and 11.8, and MySQL 8.0. So if you plan a switch, test your application against the exact versions involved rather than assuming everything carries over.

What MariaDB adds

The MariaDB Foundation describes MariaDB Server as a general purpose open source relational database used for everything from banking to websites. It lets you choose the storage engine best suited to the job, including Galera for a synchronous multi-master cluster, ColumnStore for large-scale analytics, Mroonga for full-text search in Chinese, Japanese and Korean, and an S3 engine. It also includes GIS and JSON features and SQL modes that mimic Oracle and Microsoft SQL Server syntax, which helps when migrating.

If PostgreSQL is also on your shortlist, our MySQL vs PostgreSQL guide covers it.

What MySQL offers

The MySQL manual calls MySQL the most popular open source SQL database management system, developed, distributed and supported by Oracle. The free Community Edition is under the GPL and includes SQL and NoSQL features. Oracle also sells Enterprise, Standard and Classic editions, an NDB Cluster edition, an embedded edition for software makers and MySQL HeatWave, a cloud service for transactions, analytics and machine learning.

For a document database set against a relational one, see our MongoDB vs PostgreSQL guide.

Five questions to settle it

  1. Do you want a database governed by a foundation rather than one company? MariaDB.
  2. Do you need Oracle support contracts or HeatWave? MySQL.
  3. Migrating from Oracle or SQL Server code? Try MariaDB's compatibility SQL modes.
  4. Need a synchronous multi-master cluster out of the box? Look at MariaDB with Galera.
  5. Switching an existing MySQL app? Test against MariaDB's compatibility notes for your versions.

If you're planning a move between systems, read my notes on using a database migration service, and keep your setup safe with this explainer on what SQL injection is and how to stop it.

Work with me

Want AI doing the heavy lifting in your marketing?

I build the systems that handle the boring 80 percent, so you get your week back. Done properly, with the human kept in.

My advice on MariaDB or MySQL

For a new self-hosted project, I'd lean towards MariaDB for its open source guarantee, foundation governance and extra storage engines. If your host, platform or vendor support contract expects MySQL, stay with MySQL and use Oracle's editions when you need them. And if you're switching from one to the other, treat it as a migration, not a swap: back up, test on the exact versions and read MariaDB's incompatibility list first.

Do you make database tools? Tool makers can ask to be considered for a featured place in comparisons like this one.

Frequently asked questions

Is MariaDB a drop-in replacement for MySQL?

MariaDB's docs say its versions worked as a drop-in replacement up to MariaDB 5.5. Since 10.0, upgrading from MySQL is usually still easy, but there are documented incompatibilities.

Who created MariaDB?

The MariaDB Foundation says MariaDB Server is made by the original developers of MySQL.

Is MariaDB free?

Yes. MariaDB Server is released under GPLv2 and the foundation says it's guaranteed to remain open source.

Who owns MySQL?

MySQL is developed, distributed and supported by Oracle Corporation, according to the MySQL reference manual.

Who uses MariaDB?

The MariaDB Foundation names Wikipedia, WordPress.com and Google among its notable users.

Published and maintained by the Lilach Bullock team, covering marketing, AI and business growth.
Your buyers are asking AI who to use. Does it say you?

See for free whether ChatGPT, Claude, Perplexity, Gemini and Google name you, and get the plan to become the answer.

Check my AI visibility →
Sundays only

Get the Sunday newsletter.

One email a week. AI experiments, marketing tactics, and the workflows Lilach is building right now in her own business.

Subscribe free

Let’s get your marketing running on AI.

Book a free 30-minute call

We figure out what you need, where AI fits in, and what working together would look like.

Book the call →

Or take the 30-second calculator

You’ll see the hours and the money quietly leaking out of your week, and the three workflows worth building first.

Take the calculator →

Or grab the free AI resource library

Prompt packs, templates, checklists, and swipe files. The exact tools I build for paying clients. Yours, free.

Get the library →
Keep reading

More from the blog.