Tarballs, binaries (Linux, Solaris, and Windows), and packages for some Linux distributions are available at mariadb.com/downloads/ or mariadb.org/download/ (which also contains a PDF version of the MariaDB Server documentation).
We hope that interested community package maintainers will step forward, as others already have, to build packages for their distributions. We ask for strict adherence to your packaging system's best practices and invite you to create a bug report if our project impedes this in any way.
Instructions how to install the packages can be found here.
Most distributions already include MariaDB. See .
Binaries from our system (see also the page), are available at . They are not suitable for use in production systems but may be of use for debugging.
Once at the above URL you will need to click on the MariaDB tree you are
interested in, and then the build. The build number corresponds to thetarbuildnum variable in Buildbot.
For example, if you were interested in the bsd9-64 build of the
tree, revision 3497, the tarbuildnum is listed in the "Build Properties"
table of the .
In this case, the value is "2434".
You can find all the source code at
To retrieve the code, the source control software offers the path of least resistance. If you are unfamiliar with git, please refer to the for an understanding of version control with git.
For instructions on creating a local branch of MariaDB, see the page.
See the page for general instructions on compiling MariaDB from the source. The page has links to platform and distribution-specific information, including information on how we build the release packages.
This page is licensed: CC BY-SA / Gnu FDL
Packages for Fedora Linux are included with our other packages available for download on.
We have also added YUM repositories to our online .
This page is licensed: CC BY-SA / Gnu FDL
Tarballs, source and binaries (Linux and Windows), and packages for some Linux distributions are available at mariadb.org/download.
We hope that interested community package maintainers will step forward, as others already have, to build packages for their distributions. We ask for strict adherence to your packaging system's best practices and invite you to create a bug report if our project impedes this in any way.
Instructions how to install the packages can be found here. See the documentation page for a list of which Linux distributions that include MariaDB.
Binaries from our system at are available as containers on quay.io/mariadb-foundation/mariadb-devel:{major version}. Tags available are listed .
These haven't passed through a full release process; however changes there have been reviewed and are considered complete by the server developers. Its recommend to use these for testing.
The download page contains the source for all released binaries. You can find the latest source code at
To retrieve the code, the source control software offers the path of least resistance. If you are unfamiliar with git, please refer to the for an understanding of version control with git.
For instructions on creating a local branch of MariaDB, see the page.
See the page for general instructions on compiling MariaDB from the source. The page has links to platform and distribution-specific information, including information on how we build the release packages.
Running the is generally the best choice. Note that there are long-term releases, maintained for five years, short-term releases, maintained for one year, and rolling releases. However, some organizations still use old or very old versions of MariaDB. An upgrade would probably require important changes in their applications, and sometimes they don't even have the sources of those applications.
contains all historical releases.
There are source and repositories there. To use repositories see the following link:
It is also possible to access Docker Official Images of MariaDB back to 5.5.40 when it became an official image ().
The MariaDB source is hosted on GitHub: server. You can get a copy with:
If you want a source tarball for a specific released MariaDB version, you can find it at downloads.mariadb.org.
At any given time, developers is working on their own branches locally or on GitHub, with the main MariaDB branches receiving pushes less often.
The main MariaDB branches are:
Source repositories for the MariaDB Connectors are:
See also:
page for instructions on how to use git to check out the source code and switch between the various branches.
The rest of this page contains information on checking out the MariaDB source from Launchpad. As the current source is now on GitHub, the information is mainly of historical interest and not useful for current development.
The instructions on this page will help you download your own local branch of the MariaDB source code repository with the full revision history. If you want a tarball of the source without the revision history, see the .
If you simply want to browse the source code, you can do so from .
You need for revision control.
Prepare a directory to keep your MariaDB code in:
Get a clean local copy of the Maria repo with:
The above will give you the latest stable MariaDB version. If you want to get another release use lp:maria/5.2, lp:maria/5.3... For a complete list, go to and choose from the top menu on the page.
Note: The initial branch operation can take a long time depending on the speed of your Internet connection and the load on launchpad. For this initial branch you need to download over a gigabyte of data.
Note: Bzr is written in Python and very slow for initial checkout. Even on a fast connection, expect to need 1-2 GByte of RAM and possibly several CPU hours for the checkout.
If you get an error like:
then the version of bzr you are using is too old. Using or higher will fix this error.
If you have upgraded your bzr and are unable to successfully branch from launchpad, try using the source tree tarball (below) instead.
You can see the current history with:
If you are going to be hacking on the MariaDB source code. See the page for help.
If you just want to compile MariaDB at this point, see the page.
For those that have trouble branching MariaDB from Launchpad we have created a tarball of a complete repository of the MariaDB tree.
You need to work with the repository.
Download the mariadb-shared-repo.tgz file from .
The file is 267MB, so the download may take a long time to complete depending on your Internet connection.
The .tgz file contains a .bzr directory. The parent directory of this .bzr directory is (or becomes) a shared repository containing the MariaDB source code. It is recommended to create a new directory for this, so the next step is to create a directory to house the repository. Call this directory anything you like ("maria", "mariadb", "my", "src", etc...). Once created, cd into the directory and untar the file. Here is an example using the name "mariadb" for the new directory, with the directory located in a directory called "src" in the home directory of the current user, and the mariadb-shared-repo.tgz file located in a directory named Downloads (also in the current user's home directory):
After the untar step you will have a bzr shared repository, but not
a working tree. While in the shared repository directory, use thebzr branch command to branch the MariaDB trees you are
interested in. For example:
bzr branch lp:maria/5.2
bzr branch lp:maria
Thanks to the repository, either of the above commands will complete very fast.
Before working with the code, make sure you pull down the latest version of the source code:
You can now use this source tree as if you had branched it from launchpad directly.
The following alternative instructions are what we have used for setting up repositories on our build machines in .
To streamline later steps, we start by setting several shell variables. Set the values of the BZR and WORK_DIR variables to the appropriate values for your Linux distribution. The rest of the variables in this section should not need to be changed.
Initialize your bzr working directories, if not done already:
Check out MariaDB sources:
Check out packaging sources (only for and below):
This page is licensed: CC BY-SA / Gnu FDL
git clone https://github.com/MariaDB/server mariadb-servermkdir $repo
# where $repo is some directory (ex: ~/repos)
cd $repo
bzr init-repo maria
# this creates ~/repos/maria
cd $repo/maria
# (ex: ~/repos/maria)
bzr branch lp:maria trunkbzr: ERROR: Unknown repository format: 'Bazaar RepositoryFormatKnitPack6 (bzr 1.9)'cd $repo/maria/trunk
bzr log | lessmariadbdir="mariadb"
downloadsdir="${HOME}/Downloads"
sourcecodedir="${HOME}/src"
cd ${sourcecodedir}
mkdir ${mariadbdir}
cd ${mariadbdir}
tar -zxvf ${downloadsdir}/mariadb-shared-repo.tgzcd mariadb-5.2 #or to wherever your MariaDB tree is
bzr pullBZR="/usr/bin/bzr"WORK_DIR="${HOME}/work/monty_program"
MARIA_DIR=${WORK_DIR}/mariadb
MARIA_REPO="lp:maria"
MARIA_MASTER="${MARIA_DIR}/maria-local-master"
MARIA_WORK="${MARIA_DIR}/maria"
PACKAGING_DIR=${WORK_DIR}/packaging
PACKAGING_REPO="lp:~maria-captains/ourdelta/ourdelta-montyprogram-fixes"
PACKAGING_MASTER="${PACKAGING_DIR}/ourdelta-montyprogram-fixes-local-master"
PACKAGING_WORK="${PACKAGING_DIR}/ourdelta-montyprogram-fixes"$BZR init-repo $MARIA_DIR
$BZR init-repo $PACKAGING_DIR$BZR branch $MARIA_REPO $MARIA_MASTER
$BZR branch $MARIA_MASTER $MARIA_WORK$BZR branch $PACKAGING_REPO $PACKAGING_MASTER
$BZR branch $PACKAGING_MASTER $PACKAGING_WORKWe rely on mirrors to distribute MariaDB to the world through the official download site at download. If you would like to volunteer to become a mirror, thank you! Getting you set up is easy.
The state of MariaDB mirrors is monitored at https://mirmon.mariadb.org/
The only requirements for becoming a mirror are:
A willingness to mirror MariaDB
Mirroring is done using rsync
An https mirror should be utilised (http mirrors are not accepted any more)
Available bandwidth and disk space
MariaDB will normally have no more than one release per series (10.4, 10.5, etc...) per month. There may be times when this is not the case (such as if a major bug is found), but those times are few.
Timing for release announcements is generally oriented to the U.S. Eastern time zone. So if your mirror only updates less frequently than every 6 hours, have it update after midnight, but before 06:00, U.S. Eastern Time.
With rsync, it is no problem to update several times per day, and doing so is encouraged.
The two primary rsync URLs for mirrors to use are:
USA:
Europe:
Here are suggested rsync commands for a mirror to use:
Be aware that when using the above rsync command, a "mariadb" directory will not be created. Instead, the contents of the mariadb module is rsynced into whatever local folder you specify. We suggest creating a "mariadb" folder for this.
It is also a good idea to test your rsync command before adding it to a cron job by adding the -v --dry-run flags to the command temporarily so you can see what it will do (without actually doing anything).
As of June 2025, running the above command will use around 750GB of disk space in total.
See the for details on what each of the arguments in the command above does.
We also have several secondary rsync mirrors you can pull from. In many instances pulling from the secondary mirror is faster than pulling from the primary rsync mirrors. Here they are, with the country they are located in. Simply replace the rsync URI in the example above with one from this list to use it.
The MariaDB Foundation maintains a mirror manager system (see: ). It is hosted by Hetzner in Germany, it is not available via rsync so you can't use it as a source for your mirror but you are encouraged to use it for your MariaDB installation and deployments. You can check the status of the service at https://mirror.mariadb.org/mirrorstats.
Once you have initially mirrored the MariaDB release tree, please send an email to (mirror (at) mariadb [dot] org) with the following information:
The name of the company or organization sponsoring the mirror (so we can give credit where credit is due).
Contact name (and email address) for your mirror (so we know who to contact if there are any issues)
The general physical location (e.g. "Paris, France", "Hong Kong", or "Austin, Texas, USA") of the mirror (we use geolocation to try and send people to a mirror close to them).
The base public URL for the mirror (e.g. 'http://mirror.example.net/pub/mariadb'
Once we receive your email and verify your mirror is working we'll add you to the list of mirrors. Apologies in advance in case of slow responses - mirror updates are usually batched around release time.
Thank you for volunteering to mirror MariaDB!
The primary MariaDB mirrors have been generously provided by the (at rsync.osuosl.org) and (at mirror.netcologne.de).
Other mirrors (list not necessarily complete) are listed below and can be selected on the site:
CICKU (Global - CloudFlare)
AARNet (Brisbane)
Digital Pacific (Sydney)
Real World Group (Sydney)
Alwyzon (Vienna)
Digital Nova (Graz)
Kumi Systems e.U (Vienna)
next layer GmbH (Vienna)
YER Hosting
Neterra Telecommunications
ACORN-NS (Halifax)
Insacom (Valparaíso)
Dalian Neusoft University of Information / 大连东软信息学院 (Dalian)
清华大学 TUNA 协会 - Tsinghua University TUNA Association (Beijing)
中国科学技术大学, 合肥 - USTC (Hefei)
eScience Center, Nanjing University (南京大学)
HOSTING90 systems (Prague)
vpsFree.cz
dotsrc.org - Aalborg University (Aalborg)
Group.one (Copenhagen)
xTom GmbH (Tallinn)
IRCAM, Institut de recherche et coordination acoustique/musique (Paris)
OVH (Roubaix)
23media (Frankfurt)
AG DSN (Dresden)
creoline GmbH (Frankfurt am Main)
dogado GmbH (Leipzig)
University of Crete / Computer Center (Crete, Heraklion)
網匯在線有限公司 - Nethub Online Limited
xTom GmbH (Hong Kong)
Budapest University of Technology and Economics (Budapest)
Bharat Datacenter (New Delhi)
Indian Institute Of Technology Delhi (New Delhi)
Universitas Surabaya (Surabaya)
Citrahost By Citranet (Jakarta)
Heru Nugroho (Jakarta)
Nevacloud (Jakarta)
Kernel.ir (Tehran)
Mobinhost (Tehran)
Parsvds (Tehran)
HEAnet Ltd. (Dublin)
SPD Hosting LTD (Rosh Haayin)
EvoWise (Milan)
山形大学, 米沢市 - Yamagata University (Yonezawa)
xTom GmbH (Osaka)
KuronekoServer (Tokyo)
Liquid Telecom (Nairobi)
UAB "Interneto Vizija" (Vilnius)
ihost.md (Chisinau)
MangoHost.NET (Chisinau)
Marwan
bouwhuis.network (Amsterdam)
NLUUG (Amsterdam)
Serverion.com (Zoetermeer)
Triple IT B.V.
FjordOS (Oslo)
RISE
ICM UW (Interdisciplinary Centre for Modelling, Warsaw University)
PTISP (Lisbon)
WebHS (Lisbon)
Universidade do Porto
Chroot Network (Bucharest)
nxtHost.com (Bucharest)
docker.ru (Moscow)
МИФИ - National Research Nuclear University "MEPhI" (Moscow)
Truenetwork (Novosibirsk)
Daan van Gorkum
National University of Singapore
zzunipark (Gwangju, South Korea)
Raiola Networks (Madrid)
MvA Internet Services GmbH (Zurich)
OSSPlanet + Ubuntu-TW - Ubuntu 台灣在地推廣組
Blendbyte (Taipei)
Khon Kaen University (Khon Kaen)
THZHost.com (Bangkok)
Distrohub (Kyiv)
mirohost.net (Kyiv)
Accretive Networks (Washington, Seattle)
EvoWise (California, Los Angeles)
EvoWise (New York, New York)
Gigenet (Chicago, Illinois)
Universidad de la República - Facultad de Derecho (Montevideo)
BKNS.VN (Hanoi)
The distributed mirrors above only hold the most recent 3-4 releases of each MariaDB series (10.6, 10.11, etc...). If you need to access older MariaDB releases, there is an archive server that contains every MariaDB release. This server is available via the web at and via rsync at:
If you want to mirror the archive mirror, please contact us at mirror@mariadb.org in advance.
To mirror the archive with rsync, something like the following will get you everything:
...or you can specify a specific release such as:
Warning, as of June 2025, the entire archive will use around 14 TB of disk space in total, and if you want to keep your mirror up to date (via cron routine for instance), please first compare the STATUS file before doing the rsync. This file is updated anytime a new content is added in the archive tree.
You can use something like the following:
We reserve the right to block IPs that continually rsync the archive mirror when no new content was added, since it uselessly overloads the archive server, which uses a slow remote storage system.
To get a listing of the top level items in the archive including a list of every MariaDB release, just do:
If you would like to become a full archive mirror of MariaDB and be listed here, just let us know via the . Thanks!
This page is licensed: CC BY-SA / Gnu FDL
Each release of MariaDB takes about between 110-140GB of disk space for all of the various packages we create. There are several MariaDB releases per year, but only the most recent two from each main MariaDB series (as of March 2025 this is 10.5, 10.6, 10.11, 11.2, 11.4, 11.7 and 11.8) are kept on the mirrors
We recommend our mirrors have at least a 100Mbit/sec connection to the Internet
The ability to do directory listings on mirrored sub-directories on your mirror host (for some platforms the download page links directly to mirrored sub-directories)
The mirror should update itself, preferably every 6 hours, but at the very least, twice a day. (See Updating Notes for more information)
Not mandatory: provide rsync or ftp access to the mirror for our mirrorbits system (See: Mirrorbits)
Germany
rsync://archive.mariadb.org/mariadb/
Germany
rsync://mirror.netcologne.de/mariadb/
Kenya
rsync://mariadb.mirror.liquidtelecom.com/MariaDB/
Morocco
rsync://mirror.marwan.ma/mariadb/
Netherlands
rsync://ftp.nluug.nl/mariadb/
Netherlands
rsync://mirror.nl.mirhosting.net/mariadb/
Norway
rsync://rsync.fjordos.com/mariadb/
Poland
rsync://ftp.icm.edu.pl/pub/unix/database/mariadb/
Portugal
rsync://mirrors.ptisp.pt/mariadb/
Romania
rsync://mirrors.nxthost.com/mariadb/
Russia
rsync://mirror.mephi.ru/mariadb/
Russia
rsync://mirror.truenetwork.ru/MariaDB/
Spain
rsync://mirror.raiolanetworks.com/pub/mariadb/
Taiwan
rsync://ftp.ubuntu-tw.org/mariadb/
Thailand
rsync://mirror.kku.ac.th/mariadb/
United Kingdom
rsync://mariadb.gb.ssimn.org/mariadb/
United States
rsync://mirror.nodesdirect.com/mariadb/
United States
rsync://mirror.us.mirhosting.net/mariadb/
United States
rsync://rsync.osuosl.org/mariadb/
Uruguay
rsync://espejito.fder.edu.uy/mariadb/
The mirror you are using to rsync from
IPHH Internet Port Hamburg GmbH (Hamburg)
NetCologne GmbH
wilhelm.tel GmbH (Hamburg)
www.n-ix.net (Nuremberg)
xTom GmbH (Düsseldorf)
Mirhosting (Dronten)
Limestone Networks (Texas, Dallas)
Nodes Direct (Florida, Jacksonville)
Rackspace (Dallas, Virginia, Chicago, London, Sydney, Hong Kong)
xTom GmbH (San Jose, California)
Mirhosting (New York, New York)
Australia
rsync://mirror.aarnet.edu.au/pub/MariaDB/
Bulgaria
rsync://mirrors.neterra.net/MariaDB/
Canada
rsync://mariadb.mirror.globo.tech/mariadb/
China
rsync://mirrors.tuna.tsinghua.edu.cn/mariadb/
Denmark
rsync://mirror.one.com/mariadb/
Estonia
rsync://mirrors.xtom.ee/mariadb/
rsync.osuosl.org::mariadbmirror.netcologne.de::mariadbrsync -a --partial --delete-after --delay-updates mirror.netcologne.de::mariadb /path/to/local/download/directory/rsync_testrsync -a --partial --delete-after --delay-updates rsync.osuosl.org::mariadb /path/to/local/download/directory/rsync_testarchive.mariadb.org::mariadbrsync -avP archive.mariadb.org::mariadb/ /path/to/local/dir/rsync -avP archive.mariadb.org::mariadb/mariadb-10.4.13/ /path/to/local/dir/rsync archive.mariadb.org::mariadb/STATUS /tmp/STATUS
diff -q /tmp/STATUS /path/to/local/dir/STATUS || rsync -avP archive.mariadb.org::mariadb/ /path/to/local/dir/rsync archive.mariadb.org::mariadb