参考
http://henry.animeo.jp/wp/?p=1805
コマンド操作
brew install mysql
brew install mysql
結果
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/mysql-5.6.16.mavericks.bottle.tar.gz ######################################################################## 100.0%
==> Pouring mysql-5.6.16.mavericks.bottle.tar.gz
==> Caveats A “/etc/my.cnf” from another install may interfere with a Homebrew-built server starting up correctly.
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/mysql-5.6.16.mavericks.bottle.tar.gz ######################################################################## 100.0%
==> Pouring mysql-5.6.16.mavericks.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 ==> /usr/local/Cellar/mysql/5.6.16/bin/mysql_install_db –verbose –user=****** –basedir=/usr/local/Cellar/mysq
==> Summary