uninstall mysql 5.5 or 5.1 on mac

阅读更多

install mysql 5.5 on mac

http://www.rickwargo.com/2010/12/16/installing-mysql-5-5-on-os-x-10-6-snow-leopard-and-rails-3/

 

Uninstalling MySQL - (Mac - OS) 
From a terminal do the following: 

1. sudo rm /usr/local/mysql 
2. sudo rm -rf /usr/local/mysql* 
3. sudo rm -rf /Library/StartupItems/MySQLCOM 
4. sudo rm -rf /Library/PreformancPanes/My* 
5. (Edit /etc/hostconfig) sudo vi /etc/hostconfig (Remove line MYSQLCOM=-YES) 
6. sudo rm -rf /Library/Reciepts/mysql* 
7. sudo rm -rf /Library/Reciepts/MySQL* 

I think it works because there seems to be no trace of mysql 5.1.12 left om my Mac Tiger os. 

 

Also do the following and you will be able to completely remove MySQL 5.5 from Mac OS 10 Snow Leopard.

sudo rm -rf /private/var/db/receipts/com.mysql.mysql*

 

你可能感兴趣的:(MySQL,OS,Rails,F#)