MariaDB is a DBMS which has binary files compatible with MySQL.
It can be simply installed with brew:
brew install mariadb
- To connect:
- 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!