About MySQL
MySQL is a widely used open-source relational database. This repository contains the MySQL Server source code along with MySQL Cluster, which the description presents as a real-time, open-source transactional database. Applications talk to it using SQL, and it is a common choice for web applications and embedded products.
The MySQL website describes several offerings built around the server: the Community Edition, with a published governance model and early access builds; MySQL Enterprise Edition for advanced features, management tools and technical support; MySQL HeatWave, a cloud service that combines transactions with analytics and machine learning; and MySQL Cluster CGE. A program for OEM and ISV vendors covers embedding the database in other products.
The server is written in C++ and distributed under licenses detailed in the repository. Organizations can run the Community Edition on their own infrastructure, buy a commercial edition from Oracle, which owns the project, or use a managed cloud offering. Documentation, downloads and a developer zone are available on mysql.com.
Key features
- Open-source relational database server
- SQL query interface
- MySQL Cluster for transactional workloads
- Community and Enterprise editions
- HeatWave managed cloud option
- Documentation and developer resources
Good fit for
- Backing web applications with a relational database
- Embedding a database in commercial products
MySQL: questions and answers
- What is MySQL used for?
- MySQL: Source repository of the MySQL relational database server, covering the open-source Community edition and the clustered MySQL Cluster variant. It is a good fit for backing web applications with a relational database and embedding a database in commercial products.
- Is MySQL open source?
- Yes. MySQL is open source under a custom licence. Its source code is on GitHub at mysql/mysql-server and is written mainly in C++.
- Is MySQL free?
- Yes. MySQL is open source, so the software itself is free to use under the terms of its own licence. A managed cloud version is also available.
- Can I self-host MySQL?
- Yes. MySQL can be self-hosted on your own server or infrastructure.
- What is MySQL an alternative to?
- MySQL is an open-source alternative to Oracle Database, Microsoft SQL Server, Amazon Aurora and Azure SQL Database. Other open-source alternatives to Oracle Database include PostgreSQL and MariaDB.
- Is MySQL actively maintained?
- Yes. The most recent commit to MySQL was on 28 October 2026. The project has 13k stars on GitHub, with 55 added in the last 30 days.
Open-source alternatives to MySQL
See all
DBeaver
Database Tools
Free universal database tool and SQL client
Apache-2.0vs DataGrip★ 52k
PostgreSQL
Databases
Mirror of the official PostgreSQL GIT repository. Note that this is just a *mirror* - we d
OSSvs Oracle Database★ 23k
MariaDB
Databases
MariaDB server is a community developed fork of MySQL server. Started by core members of t
GPL-2.0vs Oracle Database★ 8.6k
HeidiSQL
Open source
A lightweight client for managing MariaDB, MySQL, SQL Server, PostgreSQL, SQLite, Interbas
GPL-2.0vs DbVisualizer★ 6.3k
Beekeeper Studio
Database Tools
Modern and easy to use SQL client for MySQL, Postgres, SQLite, SQL Server, and more. Linux
OSSvs DataGrip★ 24k
DbGate
Database Tools
Database manager for MySQL, PostgreSQL, SQL Server, MongoDB, SQLite and others. Runs under
GPL-3.0vs DataGrip★ 7.4k
SaaS alternatives to MySQL
See all
Oracle Database
Databases
Oracle relational database for enterprise transactional and analytical workloads
SaaS
Microsoft SQL Server
Databases
Microsoft relational database server with free Express and Developer editions
SaaS
Amazon Aurora
Databases
AWS cloud-built relational database compatible with MySQL and PostgreSQL
SaaS
Azure SQL Database
Databases
Managed SQL Server-compatible relational database service on Azure
SaaS
PlanetScale
Databases
Managed MySQL and Postgres with branching workflows and online schema changes
SaaS
Amazon RDS
Databases
Managed relational databases on AWS for MySQL, PostgreSQL, SQL Server and Oracle
SaaS

Aiven
SAP HANA
Google Cloud SQL
Oracle Autonomous Database
Oracle MySQL HeatWave
DigitalOcean Managed Databases
ScaleGrid
DbVisualizer
SingleStore
dbForge Studio
Toad
dbdiagram.io
DbSchema
DrawSQL
erwin Data Modeler
ER/Studio
SQLPro Studio
Exasol
SQL Server Management Studio
DBCode
SQLyog
Querious
CockroachDB
Dataedo