首页 > 代码库 > SQL---->mySQl卸载for mac

SQL---->mySQl卸载for mac

因为装的时候弄坏了

先来学习下怎么卸载吧,如下输入终端就好了

cd ~/

sudo rm /usr/local/mysql
sudo rm -rf /usr/local/mysql*
sudo rm -rf /Library/StartupItems/MySQLCOM
sudo rm -rf /Library/PreferencePanes/My*
vim /etc/hostconfig and removed the line MYSQLCOM=-YES-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.*

 

SQL---->mySQl卸载for mac