mariadb
brew install mariadbAlso known as: mariadb@12.3
Drop-in replacement for MySQL
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.3.3 |
Other versions:
| mariadb@11.8 | 11.8.9 | Drop-in replacement for MySQL |
| mariadb@11.4 | 11.4.13 | Drop-in replacement for MySQL |
| mariadb@10.11 | 10.11.19 | Drop-in replacement for MySQL |
| mariadb@10.6 | 10.6.28 | Drop-in replacement for MySQL |
| mariadb@10.5 | 10.5.29 | Drop-in replacement for MySQL |
Depends on:
| groonga | 16.1.0 | 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.4 | Cryptography and SSL/TLS Toolkit |
| pcre2 | 10.48 | Perl compatible regular expressions library with a new API |
| xz | 5.8.3 | 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.4.3 | Cross-platform make |
| fmt | 12.2.0 | Open-source formatting library for C++ |
| pkgconf | 3.0.7 | Package compiler and linker metadata toolkit |
| openjdk | 26.0.2.1 | Development kit for the Java programming language |
Uses from macOS: bzip2, krb5, libedit, libxcrypt, libxml2, ncurses
Conflicts with: mysql (because mariadb, mysql, and percona install the same binaries), percona-server (because mariadb, mysql, and percona install the same binaries)
Binaries:
aria_chk,
aria_dump_log,
aria_ftdump,
aria_pack,
aria_read_log,
galera_new_cluster,
innochecksum,
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,
my_print_defaults,
myisam_ftdump,
myisamchk,
myisamlog,
myisampack,
myrocks_hotbackup,
mysql,
mysql.server,
mysql_client_test,
mysql_config,
mysql_convert_table_format,
mysql_find_rows,
mysql_fix_extensions,
mysql_install_db,
mysql_ldb,
mysql_plugin,
mysql_secure_installation,
mysql_setpermission,
mysql_tzinfo_to_sql,
mysql_upgrade,
mysql_waitpid,
mysqlaccess,
mysqladmin,
mysqlbinlog,
mysqlcheck,
mysqld,
mysqld_multi,
mysqld_safe,
mysqld_safe_helper,
mysqldump,
mysqldumpslow,
mysqlhotcopy,
mysqlimport,
mysqlshow,
mysqlslap,
mysqltest,
mytop,
perror,
rcmysql,
replace,
resolve_stack_dump,
resolveip,
sst_dump,
wsrep_sst_backup,
wsrep_sst_mariabackup,
wsrep_sst_mysqldump,
wsrep_sst_rsync,
wsrep_sst_rsync_wan
Service:
| Start now and at login: | brew services start mariadb |
| Run directly: | $HOMEBREW_PREFIX/opt/mariadb/bin/mariadbd-safe --datadir=$HOMEBREW_PREFIX/var/mysql |
| 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:
| 30 days | 90 days | 365 days | |
|---|---|---|---|
| Installs | 3,673 | 9,290 | 41,401 |
Installs (--HEAD) | 5 | 8 | 78 |
| Installs on Request | 3,665 | 9,268 | 41,267 |
Installs on Request (--HEAD) | 5 | 8 | 78 |
| Build Errors | 8 |