Mac下使用MySQL
0 安装
http://cdn.mysql.com/Downloads/MySQL-5.6/mysql-5.6.17-osx10.7-x86.dmg
http://dev.mysql.com/downloads/file.php?
id=451507
1 server启动
cd /usr/local/mysqlsudo ./bin/mysqld_safe
(ENTER YOUR PASSWORD, IF NECESSARY)
(PRESS CONTROL-Z)
bg
(PRESS CONTROL-D OR ENTER "EXIT" TO EXIT THE SHELL)
2 client连接
sudo /usr/local/mysql/bin/mysql