A replacement for MySQL: MariaDB

MariaDB is a DBMS which has binary files compatible with MySQL.

It can be simply installed with brew:

brew install mariadb

Once installed:

  • To connect:

    mysql -uroot

  • To have launchd start mariadb at login:

    ln -sfv /usr/local/opt/mariadb/*.plist ~/Library/LaunchAgents

  • To load mariadb:

    launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mariadb.plist

  • Or, if you don’t want/need launchctl, you can just run:

    mysql.server start / mysql.server stop


When installing some services (related to a wikipedia dump), I had lots of troubles with MariaDB and had to go back to MySql. Luckily the binary compatibility of the DB helped!

Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: