# mariadb を Homebrew, apk, chocolatey, dnf, MacPorts, Nix, pacman, zypper, apt, scoop, winget でインストール

mariadb のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

## エージェント安全性の回答

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%):

```sh
brew install mariadb
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mariadb
```

  証拠: MacPorts ports tree: databases/mariadb/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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-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','logexpert'

- 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
- **パッケージマネージャ:** Homebrew
- **バージョン:** 12.3.2
- **ソース概要:** Drop-in replacement for MySQL
- **ホームページ:** <https://mariadb.org/>
- **最終更新:** 2026-07-31T08:47:02+01:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- 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-migrate-config-file (エイリアス)
- mariadb-plugin (エイリアス)
- mariadb-secure-installation (エイリアス)
- mariadb-setpermission (エイリアス)
- mariadb-show (エイリアス)
- mariadb-slap (エイリアス)
- mariadb-test (エイリアス)
- mariadb-tzinfo-to-sql (エイリアス)
- mariadb-upgrade (エイリアス)
- mariadb-waitpid (エイリアス)
- mariadb_config (エイリアス)
- mariadbd (エイリアス)
- mariadbd-multi (エイリアス)
- mariadbd-safe (エイリアス)
- mariadbd-safe-helper (エイリアス)
- mbstream (エイリアス)
- msql2mysql (エイリアス)
- myrocks_hotbackup (エイリアス)
- mysql_convert_table_format (エイリアス)
- mysql_find_rows (エイリアス)
- mysql_fix_extensions (エイリアス)
- mysql_install_db (エイリアス)
- mysql_ldb (エイリアス)
- mysql_plugin (エイリアス)
- mysql_setpermission (エイリアス)
- mysql_upgrade (エイリアス)
- mysql_waitpid (エイリアス)
- mysqlaccess (エイリアス)
- mysqld_safe_helper (エイリアス)
- mysqlhotcopy (エイリアス)
- mytop (エイリアス)
- rcmysql (エイリアス)
- replace (エイリアス)
- resolve_stack_dump (エイリアス)
- resolveip (エイリアス)
- sst_dump (エイリアス)
- wsrep_sst_backup (エイリアス)
- wsrep_sst_mariabackup (エイリアス)
- wsrep_sst_mysqldump (エイリアス)
- wsrep_sst_rsync (エイリアス)
- wsrep_sst_rsync_wan (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 12.3.2
## プロジェクトの歴史と使われ方

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.

### ソース

- <https://mariadb.com/docs/server>
- <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/>
- <https://mariadb.org/about/>
- <https://mariadb.org/debian-10-mariadb-10-3/>
- <https://mariadb.org/download/>
- <https://mariadb.org/mariadb-server-turns-fifteen/>
- <https://mariadb.org/what-weve-developed-in-2024/>


## セキュリティノート

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

- **Geiger リスク:** orange / 中
- broad file, network, media, or database tool signal
- formula declares a Homebrew service
- generalized runtime or code generation signal
- infrastructure mutation or orchestration signal


## 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: ~/.my.cnf

## Credential files

- Unix: ~/.my.cnf
## 他のパッケージマネージャ記録

- Debian apt - libmariadb-dev - 1:11.8.6-0+deb13u1: normalized package name 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: normalized package name 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: normalized package name 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: normalized package name 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: normalized package name 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: normalized package name 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: normalized package name 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: normalized package name 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: normalized package name 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: normalized package name 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: normalized package name 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: normalized package name 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: normalized package name 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: normalized package name 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: normalized package name 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/
- Debian apt - mariadb-plugin-hashicorp-key-management - 1:11.8.6-0+deb13u1: normalized package name match | Debian stable package indexes: mariadb-plugin-hashicorp-key-management from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Hashicorp Key Management plugin for MariaDB | https://mariadb.org/


## Combined YAML source

View the package source record on GitHub. [combined/mariadb.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mariadb.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
- curated agent safety answer
