# Install mariadb@11.8 with Homebrew, MacPorts, dnf, apk, chocolatey, Nix, pacman, zypper, apt, scoop, winget

Drop-in replacement for MySQL. Version 11.8.8 via Homebrew; verified 2026-07-05. Also installable with macports: sudo port install mariadb-11.8.

## Install

```sh
sudo av install brew:mariadb@11.8
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install mariadb@11.8
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mariadb-11.8
```

  Evidence: MacPorts ports tree: databases/mariadb-11.8/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- dnf (92%):

```sh
sudo dnf install mariadb
```

  Evidence: Fedora Rawhide package metadata: mariadb from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- apk (92%):

```sh
sudo apk add mariadb
```

  Evidence: Alpine Linux edge package indexes: mariadb from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#mariadb
```

  Evidence: nixpkgs package indexes: mariadb from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S mariadb
```

  Evidence: Arch Linux sync databases: mariadb from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install mariadb
```

  Evidence: openSUSE Tumbleweed package metadata: mariadb from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

- Debian apt (92%):

```sh
sudo apt install libmariadb-dev
```

  Evidence: Debian stable package indexes: libmariadb-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

### Windows

- Chocolatey (92%):

```sh
choco install mariadb
```

  Evidence: Chocolatey community package catalog: mariadb from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','lunacy'

- Scoop (92%):

```sh
scoop install main/mariadb
```

  Evidence: Scoop official bucket manifest trees: bucket/mariadb.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id MariaDB.Server -e
```

  Evidence: Windows Package Manager source index: MariaDB.Server from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:mariadb@11.8
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/mariadb@11.8>
- **Version:** 11.8.8
- **Source summary:** Drop-in replacement for MySQL
- **Homepage:** <https://mariadb.org/>
- **Repository:** <https://github.com/MariaDB/server>
- **Upstream docs:** <https://mariadb.com/docs/server>
- **License:** GPL-2.0-only
- **Source archive:** <https://archive.mariadb.org/mariadb-11.8.8/source/mariadb-11.8.8.tar.gz>
- **Last updated:** 2026-07-05T20:42:00+01:00
- **Generated:** 2026-07-26T07:20:29+00:00

## Executables

- mariadb-migrate-config-file (cli)
- mariadb-migrate-config-file (alias)

## Dependencies

- groonga
- lz4
- lzo
- openssl@3
- pcre2
- xz
- zstd

## Build dependencies

- bison
- cmake
- fmt
- openjdk
- pkgconf

## Uses from macOS

- bzip2
- krb5
- libedit
- libxcrypt
- libxml2
- ncurses

## Install behavior

- Post-install hook: not defined
- Service: declared
- Caveats: A "/etc/my.cnf" from another install may interfere with a Homebrew-built server starting up correctly. MySQL is configured to only allow connections from localhost by default
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-26
- Package-manager version: 11.8.8
- Package-manager updated: 2026-07-05
- Local data: ok
- Upstream repository: https://mariadb.org/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

MariaDB 11.8 is the 2025 long-term-support MariaDB Server line. The Homebrew mariadb@11.8 formula is the versioned choice for users who want the current 11.x LTS generation, including the newer feature set, while keeping a pinned branch for predictable development and deployment.

### Project history

MariaDB started in 2009 as a MySQL-compatible community fork and has since developed independent release lines under MariaDB Foundation and MariaDB Corporation stewardship. By 2025, MariaDB had moved toward yearly LTS releases for users who want stable feature sets with long maintenance windows.

MariaDB Foundation announced MariaDB 11.8 as an LTS release candidate in February 2025 and described it as succeeding 11.4. The 11.8 LTS release announcement says it was the yearly long-term-support release for 2025 and the first LTS with MariaDB Vector support. The 11.8.2 release notes identify 4 June 2025 as the Stable GA date.

### Adoption history

MariaDB 11.8's adoption story is about being the next LTS after 11.4. The Foundation said users could upgrade to 11.8 from 11.4 or older MariaDB releases, and the line appears alongside other maintained long-term releases in MariaDB Foundation release announcements.

For Homebrew users, mariadb@11.8 provides the newer LTS branch without requiring the unversioned mariadb formula to stay there forever. That matters for local databases with persistent data directories, applications testing MariaDB Vector features, and CI environments that need a reproducible server version.

### How it is used

Use mariadb@11.8 when production targets the 2025 LTS line, when testing features introduced around 11.8 such as MariaDB Vector support, or when planning upgrades from 11.4 while keeping the database branch fixed.

Configuration follows the normal MariaDB option-file rules documented for the server. Package users should also watch release notes before upgrades because even LTS maintenance releases can change packaged tools, plugins, security fixes, and client/server behavior.

### Why package nerds care

mariadb@11.8 is the versioned formula for the fresh LTS path: newer than 11.4, less transient than a rolling or short-term line. It is the branch to pin when teams want current MariaDB LTS behavior without automatically crossing into future major LTS releases.

Its significance is higher than an ordinary point-in-time package because databases have durable on-disk state. A versioned formula protects repeatable tests, dumps, migrations, and compatibility checks while still letting users deliberately opt into later branches.

### Timeline

- 2009: MariaDB began as a community fork of MySQL.
- 2024: MariaDB 11.4 became the previous LTS line.
- 2025: MariaDB Foundation announced MariaDB 11.8 as LTS, with GA planned for May.
- 2025: MariaDB 11.8 LTS was released as the yearly long-term-support release for 2025.
- 2025: MariaDB 11.8.2 became Stable GA on 4 June 2025.
- 2026: MariaDB Foundation listed 11.8 among maintained long-term release lines.

### Related projects

- MariaDB 11.4 is the previous LTS branch and common direct predecessor.
- MariaDB 10.11 is the older 10.x LTS line for conservative compatibility.
- MariaDB Connector/C provides the C client library used by applications and build systems around 11.8.

### Sources

- <https://mariadb.com/docs/release-notes/community-server/11.8/11.8.2>
- <https://mariadb.com/docs/server/clients-and-utilities/server-client-software/download/getting-the-mariadb-source-code>
- <https://mariadb.com/docs/server/server-management/install-and-upgrade-mariadb/configuring-mariadb/configuring-mariadb-with-option-files>
- <https://mariadb.org/11-8-lts-released/>
- <https://mariadb.org/about/>
- <https://mariadb.org/mariadb-community-server-corrective-releases/>
- <https://mariadb.org/mariadb-server-turns-fifteen/>
- <https://mariadb.org/tag/mariadb-11-8/>


## Security Notes

No matching local secret-handling manifest was found for mariadb@11.8. Nucleus package metadata is still published here so future coverage has a stable package URL.



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: /etc/my.cnf, /etc/mysql/my.cnf, $MARIADB_HOME/my.cnf, $MYSQL_HOME/my.cnf, ~/.my.cnf
- Windows: System Windows Directory\my.ini, System Windows Directory\my.cnf, Windows Directory\my.ini, Windows Directory\my.cnf, C:\my.ini, C:\my.cnf, installdir\my.ini, installdir\my.cnf, installdir\data\my.ini, installdir\data\my.cnf, %MARIADB_HOME%\my.ini, %MARIADB_HOME%\my.cnf, %MYSQL_HOME%\my.ini, %MYSQL_HOME%\my.cnf

## Credential files

- Unix: /etc/my.cnf, /etc/mysql/my.cnf, $MARIADB_HOME/my.cnf, $MYSQL_HOME/my.cnf, ~/.my.cnf
- Windows: System Windows Directory\my.ini, System Windows Directory\my.cnf, Windows Directory\my.ini, Windows Directory\my.cnf, C:\my.ini, C:\my.cnf, installdir\my.ini, installdir\my.cnf, installdir\data\my.ini, installdir\data\my.cnf, %MARIADB_HOME%\my.ini, %MARIADB_HOME%\my.cnf, %MYSQL_HOME%\my.ini, %MYSQL_HOME%\my.cnf
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** mariadb@11.8
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** yes
- **URL Keys:** stable

## Other Package-Manager Records

- MacPorts - mariadb-11.8: normalized package name match | MacPorts ports tree: databases/mariadb-11.8/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- dnf - mariadb - 11.8.8-1.fc45: package manager index match | Fedora Rawhide package metadata: mariadb from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | A very fast and robust SQL database server | http://mariadb.org
- dnf - mariadb-backup - 11.8.8-1.fc45: package manager index match | Fedora Rawhide package metadata: mariadb-backup from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | The mariabackup tool for physical online backups | http://mariadb.org
- dnf - mariadb-client-utils - 11.8.8-1.fc45: package manager index match | Fedora Rawhide package metadata: mariadb-client-utils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Non-essential client utilities for MariaDB/MySQL applications | http://mariadb.org
- dnf - mariadb-common - 11.8.8-1.fc45: package manager index match | Fedora Rawhide package metadata: mariadb-common from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | The shared files required by server and client | http://mariadb.org
- dnf - mariadb-connect-engine - 11.8.8-1.fc45: package manager index match | Fedora Rawhide package metadata: mariadb-connect-engine from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | The CONNECT storage engine for MariaDB | http://mariadb.org
- dnf - mariadb-cracklib-password-check - 11.8.8-1.fc45: package manager index match | Fedora Rawhide package metadata: mariadb-cracklib-password-check from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | The password strength checking plugin | http://mariadb.org
- dnf - mariadb-devel - 11.8.8-1.fc45: package manager index match | Fedora Rawhide package metadata: mariadb-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Files for development of MariaDB/MySQL applications | http://mariadb.org
- dnf - mariadb-embedded - 11.8.8-1.fc45: package manager index match | Fedora Rawhide package metadata: mariadb-embedded from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | MariaDB as an embeddable library | http://mariadb.org
- dnf - mariadb-embedded-devel - 11.8.8-1.fc45: package manager index match | Fedora Rawhide package metadata: mariadb-embedded-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Development files for MariaDB as an embeddable library | http://mariadb.org
- dnf - mariadb-errmsg - 11.8.8-1.fc45: package manager index match | Fedora Rawhide package metadata: mariadb-errmsg from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | The error messages files required by server and embedded | http://mariadb.org
- dnf - mariadb-gssapi-server - 11.8.8-1.fc45: package manager index match | Fedora Rawhide package metadata: mariadb-gssapi-server from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | GSSAPI authentication plugin for server | http://mariadb.org
- dnf - mariadb-oqgraph-engine - 11.8.8-1.fc45: package manager index match | Fedora Rawhide package metadata: mariadb-oqgraph-engine from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | The Open Query GRAPH engine for MariaDB | http://mariadb.org
- dnf - mariadb-pam - 11.8.8-1.fc45: package manager index match | Fedora Rawhide package metadata: mariadb-pam from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | PAM authentication plugin for the MariaDB server | http://mariadb.org
- dnf - mariadb-rocksdb-engine - 11.8.8-1.fc45: package manager index match | Fedora Rawhide package metadata: mariadb-rocksdb-engine from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | The RocksDB storage engine for MariaDB | http://mariadb.org
- dnf - mariadb-s3-engine - 11.8.8-1.fc45: package manager index match | Fedora Rawhide package metadata: mariadb-s3-engine from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | The S3 storage engine for MariaDB | http://mariadb.org


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Database and data packages](https://www.automicvault.com/pkg/database-data-tools/) - Matched database, SQL, migration, or data-store metadata.
- [groonga](https://www.automicvault.com/pkg/brew/groonga/) - Runtime dependency declared by Homebrew.
- [lz4](https://www.automicvault.com/pkg/brew/lz4/) - Runtime dependency declared by Homebrew.
- [openssl@3](https://www.automicvault.com/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [pcre2](https://www.automicvault.com/pkg/brew/pcre2/) - Runtime dependency declared by Homebrew.
- [xz](https://www.automicvault.com/pkg/brew/xz/) - Runtime dependency declared by Homebrew.
- [zstd](https://www.automicvault.com/pkg/brew/zstd/) - Runtime dependency declared by Homebrew.
- [bison](https://www.automicvault.com/pkg/brew/bison/) - Build dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [openjdk](https://www.automicvault.com/pkg/brew/openjdk/) - Build dependency declared by Homebrew.
- [mariadb](https://www.automicvault.com/pkg/brew/mariadb/) - Package name indicates the same formula family.
- [mariadb@10.11](https://www.automicvault.com/pkg/brew/mariadb-10-11/) - Package name indicates the same formula family.
- [mariadb@10.6](https://www.automicvault.com/pkg/brew/mariadb-10-6/) - Package name indicates the same formula family.
- [mariadb@11.4](https://www.automicvault.com/pkg/brew/mariadb-11-4/) - Package name indicates the same formula family.
- [monetdb](https://www.automicvault.com/pkg/brew/monetdb/) - Shares av.db curated category or tags: cli, data, database, rdbms, sql.
- [mysql](https://www.automicvault.com/pkg/brew/mysql/) - Shares av.db curated category or tags: cli, data, database, rdbms, sql.
- [mysql@8.0](https://www.automicvault.com/pkg/brew/mysql-8-0/) - Shares av.db curated category or tags: cli, data, database, rdbms, sql.

## Combined YAML source

View the package source record on GitHub. [combined/mariadb@11.8.yml](https://github.com/automic-vault/db/blob/main/combined/mariadb@11.8.yml)


## Sources

- Nucleus package database
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
