# Installer mariadb avec Homebrew, apk, chocolatey, dnf, MacPorts, Nix, pacman, zypper, apt, scoop, winget

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de mariadb pour les workflows d'agents IA.

## installation

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

## Réponse sur la sécurité des agents

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

- **Accès aux identifiants:** Reads database passwords, option files, socket config, and environment credentials.
- **Modification distante:** Can alter schemas, users, and data on reachable database servers.
- **Risque de publication ou d'artéfact:** Can export or import data artifacts containing sensitive records.
- **Contrôle recommandé:** Gate destructive SQL, dumps, imports, and credential file reads.
- **Conseils d'utilisation par les agents:** Allow safe schema reads; require approval for writes, exports, and credential access.

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install mariadb
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mariadb
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

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

## Faits du paquet

- **Clé du paquet:** brew:mariadb
- **Gestionnaire de paquets:** Homebrew
- **Version:** 12.3.2
- **Résumé source:** Drop-in replacement for MySQL
- **Page d'accueil:** <https://mariadb.org/>
- **Dernière mise à jour:** 2026-07-31T08:47:02+01:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- aria_chk (alias)
- aria_dump_log (alias)
- aria_ftdump (alias)
- aria_pack (alias)
- aria_read_log (alias)
- galera_new_cluster (alias)
- mariabackup (alias)
- mariadb (alias)
- mariadb-access (alias)
- mariadb-admin (alias)
- mariadb-backup (alias)
- mariadb-binlog (alias)
- mariadb-check (alias)
- mariadb-client-test (alias)
- mariadb-config (alias)
- mariadb-conv (alias)
- mariadb-convert-table-format (alias)
- mariadb-dump (alias)
- mariadb-dumpslow (alias)
- mariadb-find-rows (alias)
- mariadb-fix-extensions (alias)
- mariadb-hotcopy (alias)
- mariadb-import (alias)
- mariadb-install-db (alias)
- mariadb-ldb (alias)
- mariadb-migrate-config-file (alias)
- mariadb-plugin (alias)
- mariadb-secure-installation (alias)
- mariadb-setpermission (alias)
- mariadb-show (alias)
- mariadb-slap (alias)
- mariadb-test (alias)
- mariadb-tzinfo-to-sql (alias)
- mariadb-upgrade (alias)
- mariadb-waitpid (alias)
- mariadb_config (alias)
- mariadbd (alias)
- mariadbd-multi (alias)
- mariadbd-safe (alias)
- mariadbd-safe-helper (alias)
- mbstream (alias)
- msql2mysql (alias)
- myrocks_hotbackup (alias)
- mysql_convert_table_format (alias)
- mysql_find_rows (alias)
- mysql_fix_extensions (alias)
- mysql_install_db (alias)
- mysql_ldb (alias)
- mysql_plugin (alias)
- mysql_setpermission (alias)
- mysql_upgrade (alias)
- mysql_waitpid (alias)
- mysqlaccess (alias)
- mysqld_safe_helper (alias)
- mysqlhotcopy (alias)
- mytop (alias)
- rcmysql (alias)
- replace (alias)
- resolve_stack_dump (alias)
- resolveip (alias)
- sst_dump (alias)
- wsrep_sst_backup (alias)
- wsrep_sst_mariabackup (alias)
- wsrep_sst_mysqldump (alias)
- wsrep_sst_rsync (alias)
- wsrep_sst_rsync_wan (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 12.3.2
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

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


## Notes de sécurité

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

- **Risque Geiger:** orange / moyen
- 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
## Autres enregistrements de gestionnaires de paquets

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


## Sources

- 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
