Mysql, Homebrew and launchctl

If you install mysql through homebrew and add it to the LaunchAgents, you wont be able to use mysql.server start|stop. Instead you want to use launchctl by doing following,

To start:
launchctl load ~/Library/LaunchAgents/com.mysql.mysqld.plist

To stop:
launchctl unload ~/Library/LaunchAgents/com.mysql.mysqld.plist

2 thoughts on “Mysql, Homebrew and launchctl

  1. Dale

    when I run launchctl unload ~/Library/LaunchAgents/com.mysql.mysqld.plist I amnot returned to the shell prompt it takes a ctrl-c Thats not normal right.. I have never used this command before so I don’t know… any advice Thanks


Leave a Reply

Your email address will not be published. Required fields are marked *