Install command:
brew install mariadb@10.2

Drop-in replacement for MySQL

License: GPL-2.0-only

/api/formula/mariadb@10.2.json (JSON API)

/api/bottle/mariadb@10.2.json (Bottle JSON API)

Formula code on GitHub

Bottle (binary package) installation support provided for macOS releases:

Intel big sur
64-bit linux

Current versions:

stable 10.2.40

Other versions:

mariadb@10.5 10.5.12 Drop-in replacement for MySQL
mariadb@10.4 10.4.21 Drop-in replacement for MySQL
mariadb@10.3 10.3.31 Drop-in replacement for MySQL
mariadb@10.1 10.1.48 Drop-in replacement for MySQL


Depends on:

groonga 11.0.7 Fulltext search engine and column store
openssl@1.1 1.1.1l Cryptography and SSL/TLS Toolkit
pcre2 10.38 Perl compatible regular expressions library with a new API

Depends on when building from source:

bison 3.8.2 Parser generator
cmake 3.21.3 Cross-platform make
pkg-config 0.29.2 Manage compile and link flags for libraries
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

To connect:
     mysql -uroot


Installs (30 days)
mariadb@10.2 436
Installs on Request (30 days)
mariadb@10.2 434
Build Errors (30 days)
mariadb@10.2 16
Installs (90 days)
mariadb@10.2 1,445
Installs on Request (90 days)
mariadb@10.2 1,444
Installs (365 days)
mariadb@10.2 4,368
Installs on Request (365 days)
mariadb@10.2 4,362
Fork me on GitHub