GitHub stars
13k
Last 30 days
+55(+0%)
Last commit
16 days ago
Repository age
12 years
Licence
Custom
Self-hosted
Yes

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
Built with
C++ tools
Tags
database
mysql
sql
relational-database
cluster
oltp
open-source

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

SaaS alternatives to MySQL

See all