IOS中彻底删除mysql方法

1.先停止所有mysql有关进程

2.sudo rm /usr/local/mysql

3.sudo rm -rf /usr/local/mysql*

4.sudo rm -rf /Library/StartupItems/MySQLCOM

5.sudo rm -rf /Library/PreferencePanes/My*

6.sudo vi /etc/hostconfig # removed the line MYSQLCOM=-YES-

7.rm -rf ~/Library/PreferencePanes/My*

8.sudo rm -rf /Library/Receipts/mysql*

9.sudo rm -rf /Library/Receipts/MySQL*

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

posted @ 2014-04-25 08:05  andy_shen  阅读(276)  评论(0编辑  收藏  举报