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

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mariadb@11.4
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mariadb-11.4
```

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

### Linux

- 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

- 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

- 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.4
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/mariadb@11.4>
- **版本:** 11.4.12
- **来源摘要:** 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.4.12/source/mariadb-11.4.12.tar.gz>
- **最后更新:** 2026-07-05T20:42:00+01:00
- **已生成:** 2026-07-26T07:20:29+00:00

## 可执行文件

- aria_s3_copy (cli)
- aria_s3_copy (别名)

## 依赖

- 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.4.12
- 管理器更新时间: 2026-07-05
- 本地数据: OK
- 上游仓库: https://mariadb.org/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

MariaDB 11.4 is a long-term-support MariaDB Server line and the first broadly stabilizing LTS in the 11.x generation. The Homebrew mariadb@11.4 formula is useful when users want newer 11.x behavior but need a locked feature set and a support window rather than a moving default.

### 项目历史

MariaDB began in 2009 as a MySQL-compatible community fork and later developed its own release policy and source tree. By the 11.x generation, MariaDB had separated feature-development cadence from long-term-support expectations.

MariaDB Foundation announced in April 2024 that MariaDB Server 11.4 would be an LTS release to support users expecting five years of bug fixes in a release with a locked feature set. The 11.4.2 release notes identify 29 May 2024 as the Stable GA date and say 11.4 is maintained until May 2029.

### 采用历史

MariaDB 11.4 became a natural landing point for users who wanted to leave older 10.x branches while avoiding short-lived 11.x releases. The Foundation explicitly framed 11.4 LTS as a way to encourage broader MariaDB 11 adoption.

For package users, adoption is often controlled by production parity: a versioned formula lets local development, CI, and migration testing stay on 11.4 even if the unversioned Homebrew formula moves to a newer LTS.

### 使用方式

Use mariadb@11.4 when an application is certified for MariaDB 11.4, when production is on the 2024 LTS line, or when users want 11.x features with an LTS maintenance horizon.

MariaDB 11.4 release notes call out dump/client compatibility behavior around a new sandbox command in mariadb-dump output. That is exactly the kind of packaging detail that makes version pinning useful for database users and tooling authors.

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

The package significance of mariadb@11.4 is controlled modernization. It gives users a stable 11.x target without forcing them to jump to each later branch, which matters for SQL compatibility, dumps, replication testing, plugins, and client tooling.

As an LTS branch maintained until May 2029, 11.4 is a strong default pin for users who need a supported MariaDB line but are not ready to follow yearly LTS upgrades immediately.

### 时间线

- 2009: MariaDB began as a community fork of MySQL.
- 2024: MariaDB Foundation announced that MariaDB Server 11.4 would be LTS.
- 2024: MariaDB 11.4.2 became Stable GA on 29 May 2024.
- 2025: MariaDB 11.8 succeeded 11.4 as the next yearly LTS.
- 2029: MariaDB 11.4 maintenance is scheduled through May 2029.

### Related projects

- MariaDB 10.11 is the older 10.x LTS line for conservative compatibility.
- MariaDB 11.8 is the next yearly LTS after 11.4.
- MariaDB Connector/C provides the client library used by C/C++ applications connecting to 11.4.

### 来源

- <https://mariadb.com/docs/release-notes/community-server/11.4/11.4.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-4-lts/>
- <https://mariadb.org/about/>
- <https://mariadb.org/download/>
- <https://mariadb.org/mariadb-server-turns-fifteen/>


## 安全说明

没有找到 mariadb@11.4 的匹配本地密钥处理 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.4
- **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.4: normalized package name match | MacPorts ports tree: databases/mariadb-11.4/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Debian apt - libmariadb-dev - 1:11.8.6-0+deb13u1: versioned package alias match | Debian stable package indexes: libmariadb-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MariaDB database development files | https://mariadb.org/
- Debian apt - libmariadb-dev-compat - 1:11.8.6-0+deb13u1: versioned package alias match | Debian stable package indexes: libmariadb-dev-compat from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MariaDB Connector/C, compatibility symlinks | https://mariadb.org/
- Debian apt - libmariadb3 - 1:11.8.6-0+deb13u1: versioned package alias match | Debian stable package indexes: libmariadb3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MariaDB database client library | https://mariadb.org/
- Debian apt - libmariadbd-dev - 1:11.8.6-0+deb13u1: versioned package alias match | Debian stable package indexes: libmariadbd-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MariaDB embedded database, development files | https://mariadb.org/
- Debian apt - libmariadbd19t64 - 1:11.8.6-0+deb13u1: versioned package alias match | Debian stable package indexes: libmariadbd19t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MariaDB embedded database, shared library | https://mariadb.org/
- Debian apt - mariadb-backup - 1:11.8.6-0+deb13u1: versioned package alias match | Debian stable package indexes: mariadb-backup from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Backup tool for MariaDB server | https://mariadb.org/
- Debian apt - mariadb-client - 1:11.8.6-0+deb13u1: versioned package alias match | Debian stable package indexes: mariadb-client from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MariaDB database client binaries | https://mariadb.org/
- Debian apt - mariadb-client-compat - 1:11.8.6-0+deb13u1: versioned package alias match | Debian stable package indexes: mariadb-client-compat from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MySQL compatibility links to mariadb-client binaries/scripts | https://mariadb.org/
- Debian apt - mariadb-client-core - 1:11.8.6-0+deb13u1: versioned package alias match | Debian stable package indexes: mariadb-client-core from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MariaDB database core client binaries | https://mariadb.org/
- Debian apt - mariadb-common - 1:11.8.6-0+deb13u1: versioned package alias match | Debian stable package indexes: mariadb-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MariaDB database common config files (/etc/mysql/mariadb.conf.d/) | https://mariadb.org/
- Debian apt - mariadb-plugin-connect - 1:11.8.6-0+deb13u1: versioned package alias match | Debian stable package indexes: mariadb-plugin-connect from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Connect storage engine for MariaDB server | https://mariadb.org/
- Debian apt - mariadb-plugin-connect-jdbc - 1:11.8.6-0+deb13u1: versioned package alias match | Debian stable package indexes: mariadb-plugin-connect-jdbc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Connect storage engine JDBC interface for MariaDB server | https://mariadb.org/
- Debian apt - mariadb-plugin-cracklib-password-check - 1:11.8.6-0+deb13u1: versioned package alias match | Debian stable package indexes: mariadb-plugin-cracklib-password-check from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | CrackLib Password Validation Plugin for MariaDB server | https://mariadb.org/
- Debian apt - mariadb-plugin-gssapi-client - 1:11.8.6-0+deb13u1: versioned package alias match | Debian stable package indexes: mariadb-plugin-gssapi-client from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GSSAPI authentication plugin for MariaDB client | https://mariadb.org/
- Debian apt - mariadb-plugin-gssapi-server - 1:11.8.6-0+deb13u1: versioned package alias match | Debian stable package indexes: mariadb-plugin-gssapi-server from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GSSAPI authentication plugin for MariaDB server | https://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.8](https://www.automicvault.com/zh-hans/pkg/brew/mariadb-11-8/) - 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.4.yml](https://github.com/automic-vault/db/blob/main/combined/mariadb@11.4.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
