Posted By

davidrinnan on 03/18/10


Tagged

mysql start alias stop


Versions (?)

Start and stop MySQL server on OS X


 / Published in: Bash
 

  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
Posted By: zingo on March 18, 2010

As of OS X v10.4 StartupItems should be replaced with launchd (http://developer.apple.com/macosx/launchd.html). See http://www.macosxhints.com/article.php?story=20080128103022907 how to do this for mysqld.

You need to login to post a comment.