彻底删除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 打开之后删除MYSQLCOM这一行 # 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.*
哈哈,这样你就删除了哦!