# 使用 Homebrew, MacPorts, dnf, apk, chocolatey, Nix, pacman, zypper, apt, scoop, winget 安装 mariadb@11.8

查看 mariadb@11.8 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

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

  证据: local Homebrew formula metadata

- MacPorts (94%):

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

  证据: 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
```

  证据: 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
```

  证据: 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
```

  证据: 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
```

  证据: 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
```

  证据: 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
```

  证据: 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
```

  证据: 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
```

  证据: 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
```

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

## 软件包事实

- **软件包键:** brew:mariadb@11.8
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/mariadb@11.8>
- **版本:** 11.8.8
- **来源摘要:** Drop-in replacement for MySQL
- **主页:** <https://mariadb.org/>
- **仓库:** <https://github.com/MariaDB/server>
- **上游文档:** <https://mariadb.com/docs/server>
- **许可证:** GPL-2.0-only
- **源码归档:** <https://archive.mariadb.org/mariadb-11.8.8/source/mariadb-11.8.8.tar.gz>
- **最后更新:** 2026-07-05T20:42:00+01:00
- **已生成:** 2026-07-26T07:20:29+00:00

## 可执行文件

- mariadb-migrate-config-file (cli)
- mariadb-migrate-config-file (别名)

## 依赖

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

## 构建依赖

- bison
- cmake
- fmt
- openjdk
- pkgconf

## macOS 提供的库

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

## 安装行为

- post-install 钩子: 未定义
- 服务: declared
- 注意事项: 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: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-26
- 管理器版本: 11.8.8
- 管理器更新时间: 2026-07-05
- 本地数据: OK
- 上游仓库: https://mariadb.org/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

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.

### 项目历史

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.

### 采用历史

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.

### 使用方式

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.

### 为什么软件包爱好者会关心

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.

### 时间线

- 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.

### 来源

- <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/>


## 安全说明

没有找到 mariadb@11.8 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 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:** 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

## 其他软件包管理器记录

- 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


## 相关链接

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


## 来源

- 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
