alternatives to

MySQL

MySQL Server, the world's most popular open source database, and MySQL Cluster, a real-time, open source transactional database.

Side by side

6 open source alternatives to MySQL
ToolFitStarsLicenceTermsSelf-hostedLanguageLatestLast push
TiDBFull replacement41kApache-2.0Open sourceYesGov7.5.82026-10-06
DoltFull replacement25kApache-2.0Open sourceYesGov2.4.12026-10-06
PostgreSQLFull replacement22kOtherOpen sourceYesCREL_18_62026-10-06
OceanBaseFull replacement10kApache-2.0Open sourceYesC++v4.4.2_CE_BP32026-10-01
MariaDBFull replacement8.3kGPL-2.0Open sourceYesC++mariadb-13.0.22026-10-06
MatrixOnePartial2kApache-2.0Open sourceYesGov4.2.52026-10-06

Every alternative

Language
Licence
Fit
Deploy with

6 alternatives

TiDBFull replacement

TiDB is built for agentic workloads that grow unpredictably, with ACID guarantees and native support for transactions, analytics, and vector search. No data silos. No noisy neighbors. No infrastructure ceiling.

Speaks the MySQL protocol and scales out across nodes; triggers and some MySQL features are missing.

Language
Go
Licence
Apache-2.0
Stars
41k
Latest
v7.5.8
Last push
2026-10-06
DoltFull replacement

Dolt – Git for Data

Speaks the MySQL protocol and adds git-style branches, merges and diffs of the data.

Language
Go
Licence
Apache-2.0
Stars
25k
Latest
v2.4.1
Last push
2026-10-06
PostgreSQLFull replacement

Mirror of the official PostgreSQL GIT repository. Note that this is just a *mirror* - we don't work with pull requests on github. To contribute, please see https://wiki.postgresql.org/wiki/Submitting_a_Patch

A relational database with a different SQL dialect and protocol.

Language
C
Licence
Other
Stars
22k
Latest
REL_18_6
Last push
2026-10-06
OceanBaseFull replacement

OceanBase is the unified distributed database for the AI era — open-source, multi-model, one engine for your most demanding workloads.

Speaks the MySQL protocol and dialect and scales out across nodes with Paxos replication; some MySQL features are missing.

Language
C++
Licence
Apache-2.0
Stars
10k
Last push
2026-10-01
MariaDBFull replacement

MariaDB server is a community developed fork of MySQL server. Started by core members of the original MySQL team, MariaDB actively works with outside developers to deliver the most featureful, stable, and sanely licensed open SQL server in the industry.

Forked from MySQL; keeps its protocol and client libraries, and has diverged since MySQL 8.

Language
C++
Licence
GPL-2.0
Stars
8.3k
Last push
2026-10-06
MatrixOnePartial

AI-native HTAP database with Git-for-Data and built-in vector search, serving as the data and memory backbone for intelligent agents and applications.

Speaks the MySQL protocol and runs transactional and analytical queries on shared object storage.

Language
Go
Licence
Apache-2.0
Stars
2k
Latest
v4.2.5
Last push
2026-10-06

Head to head

About MySQL

Language
C++
Licence
Other
Stars
12k
Last push
2026-09-29

About MySQL →