标签:
1. 安装mysql
brew update brew install mysql
2. 启动mysql
mysql.server start
3. 登录mysql
mysql -uroot -p
密码为空,直接回车,即进入mysql
4. 退出mysql
Control+Z
Install MySQL on Mac by Homebrew
原文地址:http://www.cnblogs.com/Xylophone/p/5764319.html