This two days of whim, just want to write PHP on Mac, but need to configure the environment, need to use MySQL, began to download the MySQL installation package online, but did not see the following installation tutorial, is directly mysql-5.1.63-osx10.6-x86_64.pkg, Mysql.prefpane,mysqlstartupitem.pkg in order to install again, and so I installed to mysqlstartupitem.pkg this file when the error, the simplest way is to uninstall and then reinstall, a variety of Baidu can clean uninstall MySQL method, found hundred Degree is too pit, the content of the article is the same,
sudo rm-rf/var/db/receipts/com.mysql.*in the end, many articles have been lost, remember to remember. This article read too much, 100 degrees is all, pit dead, but still found can be clean written in MySQL method, do not say directly on the code:sudo rm-rf/library/startupitems/mysqlcom
sudo rm-rf/library/preferencepanes/my*
RM-RF ~/library/preferencepanes/my*
sudo rm-rf/library/receipts/mysql*
sudo rm-rf/library/receipts/mysql*
sudo rm-rf/var/db/receipts/com.m
sudo vim/etc/hostconfig
How to uninstall MySQL on Mac