Kevin Warrington

Loading clever subtitle...

Setup MySQL With a Launch Agent

Install MySQL using brew:

1
2
3
brew update
brew search mysql
brew install mysql

Add a launch agent for MySQL, which runs on behalf of the current user:

1
ln -sfv /usr/local/opt/mysql/*.plist ~/Library/LaunchAgents

Start the launch agent now:

1
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist

Comments