Last active
December 11, 2015 18:49
-
-
Save djburdick/4644705 to your computer and use it in GitHub Desktop.
mac brew install mysql. #mysql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. brew install mysql | |
2. mysql_install_db --verbose --user=`whoami` --basedir="$(brew | |
-prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp | |
3. mysql.server start | |
To launch on startup: | |
* if this is your first install: | |
mkdir -p ~/Library/LaunchAgents | |
cp /usr/local/Cellar/mysql/5.5.27/homebrew.mxcl.mysql.plist ~/Library/LaunchAgents/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment