Automic VaultAutomic Vault

brew

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

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

代理安全

代理安全回答

mariadb provides database server and client tooling with data mutation authority.

凭据访问

Reads database passwords, option files, socket config, and environment credentials.

远程变更

Can alter schemas, users, and data on reachable database servers.

发布/制品风险

Can export or import data artifacts containing sensitive records.

推荐控制

Gate destructive SQL, dumps, imports, and credential file reads.

代理使用指南

Allow safe schema reads; require approval for writes, exports, and credential access.

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install mariadb

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install mariadb

MacPorts ports tree · databases/mariadb/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add mariadb

Alpine Linux edge package indexes · mariadb · 来源: dl-cdn.alpinelinux.org

Fedora dnf已验证 · 92%
sudo dnf install mariadb

Fedora Rawhide package metadata · mariadb · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#mariadb

nixpkgs package indexes · mariadb · 来源: raw.githubusercontent.com

Arch Linux pacman已验证 · 92%
sudo pacman -S mariadb

Arch Linux sync databases · mariadb · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install mariadb

openSUSE Tumbleweed package metadata · mariadb · 来源: download.opensuse.org

Debian apt已验证 · 92%
sudo apt install libmariadb-dev

Debian stable package indexes · libmariadb-dev · 来源: deb.debian.org

Windows

Chocolatey已验证 · 92%
choco install mariadb

Chocolatey community package catalog · mariadb · 来源: community.chocolatey.org

Scoop已验证 · 92%
scoop install main/mariadb

Scoop official bucket manifest trees · bucket/mariadb.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id MariaDB.Server -e

Windows Package Manager source index · MariaDB.Server · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Drop-in replacement for MySQL

命令和别名

  • aria_chk
  • aria_dump_log
  • aria_ftdump
  • aria_pack
  • aria_read_log
  • galera_new_cluster
  • mariabackup
  • mariadb
  • mariadb-access
  • mariadb-admin
  • mariadb-backup
  • mariadb-binlog
  • mariadb-check
  • mariadb-client-test
  • mariadb-config
  • mariadb-conv
  • mariadb-convert-table-format
  • mariadb-dump
  • mariadb-dumpslow
  • mariadb-find-rows
  • mariadb-fix-extensions
  • mariadb-hotcopy
  • mariadb-import
  • mariadb-install-db
  • mariadb-ldb
  • mariadb-plugin
  • mariadb-secure-installation
  • mariadb-setpermission
  • mariadb-show
  • mariadb-slap
  • mariadb-test
  • mariadb-tzinfo-to-sql

历史

项目历史与用法

MariaDB is a community-developed, MySQL-compatible relational database server made by original MySQL developers and maintained as open source infrastructure. In package managers it is the familiar mysql-compatible server package used for local development, CI, self-hosted applications, and production deployments.

项目历史

MariaDB began in 2009 as a community fork of MySQL after concerns about Oracle's acquisition of MySQL through Sun. MariaDB Foundation material says the first release, MariaDB 5.1.38, shipped on 29 October 2009 with speed improvements, an enhanced thread pool, and storage-engine work such as XtraDB and Aria.

The project positioned itself as a backward-compatible, drop-in replacement for MySQL while continuing independent development. MariaDB's public documentation describes the source as hosted on GitHub, and Foundation material emphasizes open development, public issue tracking, and community contribution.

Over time MariaDB moved from being a MySQL fork to a database line with its own release cadence, storage-engine choices, replication features, backup tooling, Galera packaging, and long-term-support policy. The server remains important because it preserves much of the operational and client-tool culture that grew around MySQL.

采用历史

MariaDB adoption was helped by distribution packaging. MariaDB's download page calls it one of the world's most popular open source relational databases and notes that it is available in the standard repositories of major Linux distributions. The Foundation homepage also describes MariaDB as part of most cloud offerings and the default in many Linux distributions.

Distribution choices reinforced the package-manager story. MariaDB's Debian 10 announcement says Debian shipped MariaDB 10.3 and that installing mysql-server on that release resolved to MariaDB instead, continuing a pattern where users received MariaDB through ordinary operating-system package workflows.

MariaDB is also common in container and service environments. A MariaDB Foundation engineering post described the server as foundational software and cited Docker Hub scale as a reason for strict testing across many architectures and configurations.

使用方式

Package users install MariaDB when they need a local or managed SQL server compatible with MySQL clients and protocols. The Homebrew formula exposes server and administrative tools such as mariadbd, mariadb, mariadb-admin, mariadb-dump, mariadb-upgrade, mariabackup, and Galera-related scripts.

Configuration is centered on my.cnf or my.ini option files. MariaDB's official docs explain the default option-file hierarchy across Unix-like systems and Windows, and client tools can also use option files to avoid putting passwords on command lines.

For package-manager users, the important operational detail is that a database package has state: upgrading the formula can also mean upgrading server binaries, data directories, plugins, dump compatibility, and client tools. MariaDB's release notes and LTS policy therefore matter more than the version number alone.

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

MariaDB is a package-nerd staple because it is both a server and a compatibility surface. It provides MySQL-flavored command names, client libraries, development headers, storage engines, and service-management behavior that many packages and test suites assume exist.

The unversioned Homebrew mariadb formula tracks the current packaged MariaDB line and is the right choice for users who want the maintained default rather than a pinned compatibility branch. People running production-like local data often prefer versioned formulae when they need a specific LTS line.

时间线

  • 2009: MariaDB began as a community fork of MySQL.
  • 2009: MariaDB 5.1.38 was released on 29 October 2009.
  • 2012: MariaDB Foundation was created to support open development of MariaDB Server.
  • 2019: Debian 10 shipped MariaDB 10.3 as its MySQL-compatible server path.
  • 2024: MariaDB 11.4 was made a long-term-support release with a locked feature set.
  • 2025: MariaDB 11.8 was released as the yearly LTS release for 2025.
  • 2026: MariaDB Foundation listed multiple maintained long-term release lines, including 10.6, 10.11, 11.4, 11.8, and 12.3.

Related projects

  • MySQL is the original upstream project and compatibility target.
  • MariaDB Connector/C provides the C client library used by many client packages.
  • Galera Cluster is commonly packaged with MariaDB for synchronous multi-primary clustering.
  • MariaDB Backup and the mariadb command-line clients are part of the surrounding operational toolchain.

来源

安全态势

风险级别:orange

broad file, network, media, or database tool signal. formula declares a Homebrew service.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • broad file, network, media, or database tool signal
  • formula declares a Homebrew service
  • generalized runtime or code generation signal
  • infrastructure mutation or orchestration signal

信号

  • metadata:service
  • text:cluster
  • text:repl
  • text:sync,backup,sql,stream,client

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • formula 元数据声明了服务或守护进程块。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 7 个运行时依赖。
  • 构建元数据列出 5 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

Unix
~/.my.cnf

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.my.cnf

可执行文件

已安装的可执行文件

命令类型暴露范围备注
aria_chkcli全局可执行文件
aria_dump_logcli全局可执行文件
aria_ftdumpcli全局可执行文件
aria_packcli全局可执行文件
aria_read_logcli全局可执行文件
galera_new_clustercli全局可执行文件
mariabackupcli全局可执行文件
mariadbcli全局可执行文件
mariadb-accesscli全局可执行文件
mariadb-admincli全局可执行文件
mariadb-backupcli全局可执行文件
mariadb-binlogcli全局可执行文件
mariadb-checkcli全局可执行文件
mariadb-client-testcli全局可执行文件
mariadb-configcli全局可执行文件
mariadb-convcli全局可执行文件
mariadb-convert-table-formatcli全局可执行文件
mariadb-dumpcli全局可执行文件
mariadb-dumpslowcli全局可执行文件
mariadb-find-rowscli全局可执行文件
mariadb-fix-extensionscli全局可执行文件
mariadb-hotcopycli全局可执行文件
mariadb-importcli全局可执行文件
mariadb-install-dbcli全局可执行文件
mariadb-ldbcli全局可执行文件
mariadb-plugincli全局可执行文件
mariadb-secure-installationcli全局可执行文件
mariadb-setpermissioncli全局可执行文件
mariadb-showcli全局可执行文件
mariadb-slapcli全局可执行文件
mariadb-testcli全局可执行文件
mariadb-tzinfo-to-sqlcli全局可执行文件
mariadb-upgradecli全局可执行文件
mariadb-waitpidcli全局可执行文件
mariadb_configcli全局可执行文件
mariadbdcli全局可执行文件
mariadbd-multicli全局可执行文件
mariadbd-safecli全局可执行文件
mariadbd-safe-helpercli全局可执行文件
mbstreamcli全局可执行文件
msql2mysqlcli全局可执行文件
myrocks_hotbackupcli全局可执行文件
mysql_convert_table_formatcli全局可执行文件
mysql_find_rowscli全局可执行文件
mysql_fix_extensionscli全局可执行文件
mysql_install_dbcli全局可执行文件
mysql_ldbcli全局可执行文件
mysql_plugincli全局可执行文件
mysql_setpermissioncli全局可执行文件
mysql_upgradecli全局可执行文件
mysql_waitpidcli全局可执行文件
mysqlaccesscli全局可执行文件
mysqld_safe_helpercli全局可执行文件
mysqlhotcopycli全局可执行文件
mytopcli全局可执行文件
rcmysqlcli全局可执行文件
replacecli全局可执行文件
resolve_stack_dumpcli全局可执行文件
resolveipcli全局可执行文件
sst_dumpcli全局可执行文件
wsrep_sst_backupcli全局可执行文件
wsrep_sst_mariabackupcli全局可执行文件
wsrep_sst_mysqldumpcli全局可执行文件
wsrep_sst_rsynccli全局可执行文件
wsrep_sst_rsync_wancli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本12.3.2
管理器更新时间2026-07-05
本地数据OK
上游not checked
检测到的最新版本未检测到

https://mariadb.org/

  • 信息Release/tag comparison is only available for GitHub repositories.https://mariadb.org/none 置信度

安装元数据

软件包元数据

软件包键brew:mariadb
版本12.3.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/mariadb
主页https://mariadb.org/
仓库https://github.com/MariaDB/server
上游文档https://mariadb.com/docs/server
许可证GPL-2.0-only
源码归档https://archive.mariadb.org/mariadb-12.3.2/source/mariadb-12.3.2.tar.gz
最后更新2026-07-05T20:41:59+01:00
Pulseupdated
依赖groonga, lz4, lzo, openssl@3, pcre2, xz, zstd
构建依赖bison, cmake, fmt, openjdk, pkgconf
macOS 提供的库bzip2, krb5, libedit, libxcrypt, libxml2, ncurses
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew 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

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemariadb
Aliases
  • mariadb@12.3
Version Scheme0
Revision0
Conflicts With
  • mysql
  • percona-server
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

libmariadb-dev 1:11.8.6-0+deb13u1

MariaDB database development files

https://mariadb.org/

sudo apt install libmariadb-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: mariadb
  • 4 依赖
  • normalized package name match
  • 匹配方式:Mariadb
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmariadb-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libmariadb-dev-compat 1:11.8.6-0+deb13u1

MariaDB Connector/C, compatibility symlinks

https://mariadb.org/

sudo apt install libmariadb-dev-compat
  • Section: libdevel
  • Architecture: amd64
  • Source Package: mariadb
  • 1 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Mariadb
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmariadb-dev-compat from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libmariadb3 1:11.8.6-0+deb13u1

MariaDB database client library

https://mariadb.org/

sudo apt install libmariadb3
  • Section: libs
  • Architecture: amd64
  • Source Package: mariadb
  • 4 依赖
  • normalized package name match
  • 匹配方式:Mariadb
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmariadb3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libmariadbd-dev 1:11.8.6-0+deb13u1

MariaDB embedded database, development files

https://mariadb.org/

sudo apt install libmariadbd-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: mariadb
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Mariadb
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmariadbd-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libmariadbd19t64 1:11.8.6-0+deb13u1

MariaDB embedded database, shared library

https://mariadb.org/

sudo apt install libmariadbd19t64
  • Section: libs
  • Architecture: amd64
  • Source Package: mariadb
  • 10 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Mariadb
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmariadbd19t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

mariadb-backup 1:11.8.6-0+deb13u1

Backup tool for MariaDB server

https://mariadb.org/

sudo apt install mariadb-backup
  • Section: database
  • Architecture: amd64
  • Source Package: mariadb
  • 12 依赖
  • normalized package name match
  • 匹配方式:Mariadb
Debian stable package indexes · deb.debian.org · Debian stable package indexes: mariadb-backup from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

mariadb-client 1:11.8.6-0+deb13u1

MariaDB database client binaries

https://mariadb.org/

sudo apt install mariadb-client
  • Section: database
  • Architecture: amd64
  • Source Package: mariadb
  • 10 依赖
  • 1 提供
  • 4 可选依赖
  • normalized package name match
  • 匹配方式:Mariadb
Debian stable package indexes · deb.debian.org · Debian stable package indexes: mariadb-client from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

mariadb-client-compat 1:11.8.6-0+deb13u1

MySQL compatibility links to mariadb-client binaries/scripts

https://mariadb.org/

sudo apt install mariadb-client-compat
  • Section: database
  • Architecture: all
  • Source Package: mariadb
  • 1 依赖
  • normalized package name match
  • 匹配方式:Mariadb
Debian stable package indexes · deb.debian.org · Debian stable package indexes: mariadb-client-compat from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

mariadb-client-core 1:11.8.6-0+deb13u1

MariaDB database core client binaries

https://mariadb.org/

sudo apt install mariadb-client-core
  • Section: database
  • Architecture: amd64
  • Source Package: mariadb
  • 10 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Mariadb
Debian stable package indexes · deb.debian.org · Debian stable package indexes: mariadb-client-core from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

mariadb-common 1:11.8.6-0+deb13u1

MariaDB database common config files (/etc/mysql/mariadb.conf.d/)

https://mariadb.org/

sudo apt install mariadb-common
  • Section: database
  • Architecture: all
  • Source Package: mariadb
  • 1 依赖
  • normalized package name match
  • 匹配方式:Mariadb
Debian stable package indexes · deb.debian.org · Debian stable package indexes: mariadb-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

mariadb-plugin-connect 1:11.8.6-0+deb13u1

Connect storage engine for MariaDB server

https://mariadb.org/

sudo apt install mariadb-plugin-connect
  • Section: database
  • Architecture: amd64
  • Source Package: mariadb
  • 8 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Mariadb
Debian stable package indexes · deb.debian.org · Debian stable package indexes: mariadb-plugin-connect from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

mariadb-plugin-connect-jdbc 1:11.8.6-0+deb13u1

Connect storage engine JDBC interface for MariaDB server

https://mariadb.org/

sudo apt install mariadb-plugin-connect-jdbc
  • Section: database
  • Architecture: all
  • Source Package: mariadb
  • 1 依赖
  • 5 可选依赖
  • normalized package name match
  • 匹配方式:Mariadb
Debian stable package indexes · deb.debian.org · Debian stable package indexes: mariadb-plugin-connect-jdbc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

mariadb-plugin-cracklib-password-check 1:11.8.6-0+deb13u1

CrackLib Password Validation Plugin for MariaDB server

https://mariadb.org/

sudo apt install mariadb-plugin-cracklib-password-check
  • Section: database
  • Architecture: amd64
  • Source Package: mariadb
  • 3 依赖
  • normalized package name match
  • 匹配方式:Mariadb
Debian stable package indexes · deb.debian.org · Debian stable package indexes: mariadb-plugin-cracklib-password-check from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

mariadb-plugin-gssapi-client 1:11.8.6-0+deb13u1

GSSAPI authentication plugin for MariaDB client

https://mariadb.org/

sudo apt install mariadb-plugin-gssapi-client
  • Section: database
  • Architecture: amd64
  • Source Package: mariadb
  • 3 依赖
  • normalized package name match
  • 匹配方式:Mariadb
Debian stable package indexes · deb.debian.org · Debian stable package indexes: mariadb-plugin-gssapi-client from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

mariadb-plugin-gssapi-server 1:11.8.6-0+deb13u1

GSSAPI authentication plugin for MariaDB server

https://mariadb.org/

sudo apt install mariadb-plugin-gssapi-server
  • Section: database
  • Architecture: amd64
  • Source Package: mariadb
  • 4 依赖
  • normalized package name match
  • 匹配方式:Mariadb
Debian stable package indexes · deb.debian.org · Debian stable package indexes: mariadb-plugin-gssapi-server from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

mariadb-plugin-hashicorp-key-management 1:11.8.6-0+deb13u1

Hashicorp Key Management plugin for MariaDB

https://mariadb.org/

sudo apt install mariadb-plugin-hashicorp-key-management
  • Section: database
  • Architecture: amd64
  • Source Package: mariadb
  • 5 依赖
  • normalized package name match
  • 匹配方式:Mariadb
Debian stable package indexes · deb.debian.org · Debian stable package indexes: mariadb-plugin-hashicorp-key-management from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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