####MySql 卸载
先杀进程,然后
sudo rm /usr/local/mysql
sudo rm -rf /usr/local/mysql*
sudo rm -rf /Library/StartupItems/MySQLCOM
sudo rm -rf /Library/PreferencePanes/My*
vim /etc/hostconfig and removed the line MYSQLCOM=-YES-
rm -rf ~/Library/PreferencePanes/My*
sudo rm -rf /Library/Receipts/mysql*
sudo rm -rf /Library/Receipts/MySQL*
sudo rm -rf /var/db/receipts/com.mysql.*
####Apache, PHP, 与 MySQL 安装参见 http://jason.pureconcepts.net/2014/11/install-apache-php-mysql-mac-os-x-yosemite/
####PHPMyAdmin 安装参见 http://jason.pureconcepts.net/2012/10/install-apache-php-mysql-mac-os-x/
####这个也不错 http://coolestguidesontheplanet.com/get-apache-mysql-php-phpmyadmin-working-osx-10-10-yosemite/