mariadb

Install command:
brew install mariadb

Also known as: mariadb@12.1

Drop-in replacement for MySQL

https://mariadb.org/

License: GPL-2.0-only

Development: Pull requests

Formula JSON API: /api/formula/mariadb.json

Formula code: mariadb.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
tahoe
sequoia
sonoma
macOS on
Intel
sonoma
Linux ARM64
x86_64

Current versions:

stable 12.1.2

Other versions:

mariadb@11.8 11.8.5 Drop-in replacement for MySQL
mariadb@11.4 11.4.9 Drop-in replacement for MySQL
mariadb@10.11 10.11.15 Drop-in replacement for MySQL
mariadb@10.6 10.6.24 Drop-in replacement for MySQL
mariadb@10.5 10.5.29 Drop-in replacement for MySQL

Depends on:

groonga 15.2.3 Fulltext search engine and column store
lz4 1.10.0 Extremely Fast Compression algorithm
lzo 2.10 Real-time data compression library
openssl@3 3.6.0 Cryptography and SSL/TLS Toolkit
pcre2 10.47 Perl compatible regular expressions library with a new API
xz 5.8.2 General-purpose data compression with high compression ratio
zstd 1.5.7 Zstandard is a real-time compression algorithm

Depends on when building from source:

bison 3.8.2 Parser generator
cmake 4.2.2 Cross-platform make
fmt 12.1.0 Open-source formatting library for C++
pkgconf 2.5.1 Package compiler and linker metadata toolkit
openjdk 25.0.2 Development kit for the Java programming language

Conflicts with: mysql, percona-server

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

Analytics:

Installs (30 days)
mariadb 2,821
mariadb --HEAD 8
Installs on Request (30 days)
mariadb 2,816
mariadb --HEAD 8
Build Errors (30 days)
mariadb 11
Installs (90 days)
mariadb 12,196
mariadb --HEAD 27
Installs on Request (90 days)
mariadb 12,154
mariadb --HEAD 27
Installs (365 days)
mariadb 57,929
mariadb --HEAD 122
Installs on Request (365 days)
mariadb 57,674
mariadb --HEAD 122