ITeye博客

uninstall mysql 5.5 or 5.1 on mac

wellee · 2011-06-02 15:15 · Mac iOS · 数据库 · Markdown

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*

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。