MacOS
  • 목록
  • 아래로
  • 위로
  • 쓰기
  • 검색

MacOS MAC OSX 서버에 MYSQL 설치 스크립트

OSX MySql 설치 스크립트.

bash <(curl -Ls https://git.io/eUx7rg)
 

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 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)

    • 구독(458명)

    Mactopia Mactopia
    199 Lv. Max Level

    댓글 0

    참여를 하시면 세상을 바꿉니다.

    댓글 쓰기

    선택 삭제 전체 선택
    익명상태

    신고

    "님의 댓글"

    이 댓글을 신고 하시겠습니까?

    삭제

    "님의 댓글"

    이 댓글을 삭제하시겠습니까?