Start and stop MySQL server on OS X


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. sudo /Library/StartupItems/MySQLCOM/MySQLCOM start
  2.  
  3. sudo /Library/StartupItems/MySQLCOM/MySQLCOM stop
  4.  
  5.  
  6. or bind it
  7. alias start_mysql="/Library/StartupItems/MySQLCOM/MySQLCOM start"
  8. alias stop_mysql="/Library/StartupItems/MySQLCOM/MySQLCOM stop"

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.