Until MariaDB AB has Mac OS X dmg’s, here’s the next best solution to running MariaDB on Mac OS X:

sudo port install mariadb-server configure.compiler=llvc-gcc-4.2

If needed, you may need to update the macports repo list before calling the above:

sudo port selfupdate
sudo port upgrade outdated

The second line above will probably take an hour. Or more. Please be plugged in. With connectivity.