800-862-5965 sales@macminivault.com

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.

To install the script copy the following line and paste it into terminal:
bash <(curl -Ls http://git.io/eUx7rg)

The script performs the following tasks:

  • Checks for OS X and MySQL
  • Downloads the latest version of MySQL
  • Installs MySQL and prompts to install Preference Pane
  • Sets root password, displays password
  • Places copy of password in a file on the desktop
  • Copies the base my.cnf and makes some performance tweaks (mmv.cnf) - NEW
  • Prompts user if they want performance configuration - NEW
  • If so, copies mmv.cnf to /etc/my.cnf and restarts MySQL - NEW
  • Prompts to automatically install Sequel Pro and install it - NEW
  • A quick note on performance tuning ...
    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.