hahadsg's note

Follow me on GitHub

unix开启mysql服务

  • 开启服务
    sudo /Library/StartupItems/MySQLCOM/MySQLCOM start
    
  • 开启守护进程
    cd /usr/local/mysql
    sudo ./bin/mysqld_safe
    (Enter your password, if necessary)
    (Press Control-Z)