Last Updated: February 25, 2016
·
561
· applitect

Starting mysql with launchctl on MacOS X

After installing mysql with homebrew, this helps getting it started.

mkdir -p ~/Library/LaunchAgents
cp /usr/local/opt/mysql/homebrew.mxcl.mysql.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist