Our popular MySQL Installer for OS X 10.8 Mountain Lion has been upgraded to support OS X 10.9 Mavericks. The installer script is a part of our Mac-Scripts Github repository. More information about the scripts can be found at code.macminivault.com. There are other great automation scripts available on that page as well.
We encourage users and customers to join github, request features, report bugs, fork the repo and tweak our code. Ultimately we are trying to save everyone time and frustration with these scripts.
bash <(curl -Ls http://git.io/eUx7rg)
The script performs the following tasks:
This script creates a modified my.cnf file named mmv.cnf. The performance settings will not be perfect for every MySQL server. The intention was to give a small performance boost in a generic way. This script gives the option to copy over the mmv.cnf file to /etc/my.cnf and restart MySQL. We encourage you to further tune your MySQL server after it is running for awhile. You can do so by running this command in your terminal and it will display stats and recommendations. (Credit Major Hayden for MySQLTuner)
Copy and paste this into terminal to run MySQLTuner:
perl <(curl -Ls https://raw.github.com/major/MySQLTuner-perl/master/mysqltuner.pl)
Update: We have an updated post that shows how to install MySQL 5.7 on macOS Sierra.