Skip to content

Instantly share code, notes, and snippets.

@7hunderbird
Last active December 21, 2015 22:08
Show Gist options
  • Save 7hunderbird/47b1e7c789d69f199932 to your computer and use it in GitHub Desktop.
Save 7hunderbird/47b1e7c789d69f199932 to your computer and use it in GitHub Desktop.
→ brew install mysql
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/mysql-5.6.13.mountain_lion.bottle.tar.gz
######################################################################## 100.0%
==> Pouring mysql-5.6.13.mountain_lion.bottle.tar.gz
==> Caveats
A "/etc/my.cnf" from another install may interfere with a Homebrew-built
server starting up correctly.
To connect:
mysql -uroot
To have launchd start mysql at login:
ln -sfv /usr/local/opt/mysql/*.plist ~/Library/LaunchAgents
Then to load mysql now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
Or, if you don't want/need launchctl, you can just run:
mysql.server start
==> Summary
🍺 /usr/local/Cellar/mysql/5.6.13: 9381 files, 354M
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment