Skip to content

Instantly share code, notes, and snippets.

@wen-long
Last active August 29, 2015 14:18
Show Gist options
  • Save wen-long/7caacd8db4041f33ab70 to your computer and use it in GitHub Desktop.
Save wen-long/7caacd8db4041f33ab70 to your computer and use it in GitHub Desktop.

####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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment