首先安装brew
再用brew安装mysql
brew install mysql
启动
mysql.server start
mysql.server stop
mysql.server restart
localhost:~ lasia$ mysql.server start
Starting MySQL
SUCCESS!
一篇更详细的安装文档
http://blog.neten.de/posts/2014/01/27/install-mysql-using-homebrew/