Supporting continuity and open collaboration

Mac OS X users can install MariaDB via Homebrew

The gist of it is, if you’ve installed Mac OS X and you use Homebrew, you’ll be pleased to note that you’re just a brew install away for getting a working MariaDB. Yes, that’s right, simply do: brew install mariadb and that’s it — you’ll have MariaDB (currently 5.2.6) installed in no time. For further documentation and a step-by-step guide, visit the Knowledgebase article: Building MariaDB on Mac OS X using Homebrew.


  1. Ina Centaur Ina Centaur

    Is there a version for macports?

  2. David Lane David Lane

    With some of the Apple security changes, esp in El Cap, a “brew install mariadb” is no longer sufficient.

    I had to modify a number of directory permissions before the brew install completed successfully
    Create the /usr/local/etc/my.cnf.d directory (because of the failure of the brew install perhaps?)
    Rerun the mysql_install_db directory (post install).

    Probably need a whole new write up on how to do the installation for El Cap.

    • David F David F

      I need MySQL or MariaDB for a WordPress install on Mac OSX. I’m wondering if given what you said if MariaDB is not the way to go. I wanted something simple like a double-clickable package install…

Leave a Reply

Your email address will not be published. Required fields are marked *

Platinum Sponsors

MariaDB Foundation Platinum sponsors

Gold Sponsors

MariaDB Foundation Gold sponsors

Code statistics