MySQL Server source code
Oracle's public GitHub repository with the source code of MySQL Server, including the server, client programs such as mysql and mysqldump, and the test suite.
Drafted with AI from official documentation. Scripts were run in a test environment and repository links verified. Awaiting a human check. Did it work for you? Last edited Outdated?
mysql/mysql-server
- Stars
- 12.5k
- Forks
- 4.4k
- Language
- C++
- Licence
- NOASSERTION
- Last push
- 14 Oct 2026
On GitHub: MySQL Server, the world's most popular open source database, and MySQL Cluster, a real-time, open source transactional database.
Open on GitHubThis repository holds the source of MySQL Server as published by Oracle: the mysqld server, client programs such as mysql, mysqldump and mysqlbinlog, storage engines including InnoDB, and the mysql-test suite. Branches and tags follow MySQL releases, so you can read the exact code behind the version you run.
Most administrators never build from it; packages from dev.mysql.com or your distribution are the normal way to install MySQL. It is useful when you want to understand a server variable, read how an error is raised, or check when a change landed. Documentation lives separately at dev.mysql.com/doc.
Check the repository’s README and contributing files for how Oracle accepts contributions and where bugs are tracked before opening an issue.
Did this work for you?
No votes yet. Be the first.
If it did not work, the report form below tells the editors what went wrong.
See also
- 0214 MySQL users and privileges: CREATE USER, GRANT and authentication plugins A MySQL account is a user name plus the host it connects from. You create it with CREATE USER, give it rights… Beginner · Step by step · Linux Article Administration · Security & access 15 Oct 2026
- 0215 mysql command-line client cheat sheet The connection options, built-in commands and everyday SQL you need in the mysql (and mariadb) command-line client, on one page. Beginner · Cheat sheet · Any system Article Administration · Queries 15 Oct 2026
- 0216 MySQL vs MariaDB: what actually differs MariaDB started as a fork of MySQL and still speaks the same client protocol, but GTIDs, JSON storage, authentication and tooling have… Intermediate · Explains an idea · Linux Article Choosing a database · MySQL & MariaDB 15 Oct 2026
- 0217 MySQL binary logs and point-in-time recovery The binary log records every change after your last backup. Restore the backup, then replay the binary log up to just before… Advanced · Explains an idea · Linux Article Backup & restore · Replication 15 Oct 2026
- 0218 Setting up MySQL source-replica replication with GTIDs Step by step: configure a MySQL 8.4 source and replica with GTIDs, create the replication account, copy the data, connect the replica… Advanced · Step by step · Linux Article Administration · Replication 15 Oct 2026
- 0219 mysqldump nightly backup with rotation (bash) A cron-ready bash script that dumps each MySQL or MariaDB database to its own compressed file with --single-transaction, verifies it and deletes… Intermediate · Step by step · Linux Script Administration · Backup & restore 15 Oct 2026
History
Every saved edit is kept. The plot on the sleeve draws one line per edit. Open any edit to see exactly what changed.
- Dominik +757 chars