# MySQL vs SurrealDB

> Two self-hosted [PostgreSQL alternatives](https://selfhost.directory/alternative-to/postgresql), compared on the numbers selfhost.directory tracks live: score, popularity, release cadence and setup effort.

| | MySQL | SurrealDB |
|---|---|---|
| Score | 78/100 | 78/100 |
| Rank in category | #4 of 40 in Database Management | #5 of 38 in Databases |
| GitHub stars | 12 486 | 33 241 ✓ |
| Stars, last 30 days | +51 | +183 ✓ |
| Stable releases, 12 months | 0 | 21 ✓ |
| Latest release | — | v3.3.4 · 19 Oct 2026 |
| Setup | Moderate | Easy ✓ |
| Official Docker image | No | Yes ✓ |
| License | Other | Other |
| Main language | C++ | Rust |

## Which one should you pick?

MySQL and SurrealDB score the same (78/100), so the choice comes down to the details below.

SurrealDB ships more often: 21 stable releases in the past year, against 0 for MySQL.

If you want the quickest setup, SurrealDB is easier to run; MySQL needs more configuration.

SurrealDB is growing faster right now (+183 stars in 30 days).

## Details

- [MySQL](https://selfhost.directory/project/mysql) (markdown: https://selfhost.directory/project/mysql.md)
- [SurrealDB](https://selfhost.directory/project/surrealdb) (markdown: https://selfhost.directory/project/surrealdb.md)

---
Source: https://selfhost.directory/compare/mysql-vs-surrealdb