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)

Formula code on GitHub

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

Intel big sur

Current versions:

stable 10.2.37

Other versions:

mariadb@10.4 10.4.18 Drop-in replacement for MySQL
mariadb@10.3 10.3.28 Drop-in replacement for MySQL
mariadb@10.1 10.1.48 Drop-in replacement for MySQL


Depends on:

groonga 11.0.1 Fulltext search engine and column store
openssl@1.1 1.1.1k Cryptography and SSL/TLS Toolkit

Depends on when building from source:

cmake 3.20.1 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 347
Installs on Request (30 days)
mariadb@10.2 347
Build Errors (30 days)
mariadb@10.2 24
Installs (90 days)
mariadb@10.2 768
Installs on Request (90 days)
mariadb@10.2 766
Installs (365 days)
mariadb@10.2 2,698
Installs on Request (365 days)
mariadb@10.2 2,693
Fork me on GitHub