mysql for mac 彻底删除

mac上的mysql有点蛋疼,不知道怎么删除,我仿佛看到了361-1公司,或99+1度公司的风格。

好在可以脱离mysql本身的限制,在外部直接删除它的所有安装文件和环境配置,如下:

sudo rm /usr/local/mysql

sudo rm -rf /usr/local/mysql*

sudo rm -rf /Library/StartupItems/MySQLCOM

sudo rm -rf /Library/PreferencePanes/My*

sudo vim /etc/hostconfig  (and removed the line MYSQLCOM=-YES-)

sudo 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.*

你可能感兴趣的:(mysql for mac 彻底删除)