备忘录
/Users/shameless/dev/mysql/scripts/mysql_install_db --user=shameless --basedir=/Users/shameless/dev/mysql/ --datadir=/Users/shameless/dev/mysql/data/
然后复制 my.cnf 去/etc/my.cnf
编辑my.cnf 配置 basedir datadir等
最后mysql.server 启动 OK