$ brew info mariadb mariadb: stable 10.2.12 (bottled), devel 10.3.4 Drop-in replacement for MySQL https://mariadb.org/ Conflicts with: mariadb-connector-c (because both install plugins) mysql (because mariadb, mysql, and percona install the same binaries.) mysql-cluster (because mariadb, mysql, and percona install the same binaries.) mysql-connector-c (because both install MySQL client libraries) mytop (because both install `mytop` binaries) percona-server (because mariadb, mysql, and percona install the same binaries.) /usr/local/Cellar/mariadb/10.2.12 (640 files, 170MB) * Poured from bottle on 2018-01-27 at 00:05:02 From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/mariadb.rb ==> Dependencies Build: cmake ✘ Required: openssl ✔ ==> Options --with-archive-storage-engine Compile with the ARCHIVE storage engine enabled --with-bench Keep benchmark app when installing --with-blackhole-storage-engine Compile with the BLACKHOLE storage engine enabled --with-embedded Build the embedded server --with-libedit Compile with editline wrapper instead of readline --with-local-infile Build with local infile loading support --with-test Keep test when installing --devel Install development version 10.3.4 ==> Caveats 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 To have launchd start mariadb now and restart at login: brew services start mariadb Or, if you don't want/need a background service you can just run: mysql.server start $