OSX MySql 설치 스크립트.
To install the script copy the following line and paste it into terminal:
bash <(curl -Ls https://git.io/eUx7rg)
The script performs the following tasks:
Checks for OS X and MySQLDownloads the latest version of MySQLInstalls MySQL and prompts to install Preference PaneSets root password, displays passwordPlaces copy of password in a file on the desktopCopies the base my.cnf and makes some performance tweaks (mmv.cnf) - NEWPrompts user if they want performance configuration - NEWIf so, copies mmv.cnf to /etc/my.cnf and restarts MySQL - NEWPrompts to automatically install Sequel Pro and install it - NEWA 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)