您的位置:首页 - 教程 - MYSQL - 正文
备忘 - Mac下彻底删除MySQL方法
  1. sudo rm -rf /usr/local/mysql  
  2. sudo rm -rf /usr/local/mysql*  
  3. sudo rm -rf /Library/StartupItems/MySQLCOM  
  4. sudo rm -rf /Library/PreferencePanes/My*  
  5. sudo nano /etc/hostconfig     (复制前面部分回车,然后删掉这一行: MYSQLCOM=-YES-,control+O回车保存,control+X退出编辑界面)  
  6. sudo rm -rf ~/Library/PreferencePanes/My*  
  7. sudo rm -rf /Library/Receipts/mysql*  
  8. sudo rm -rf /Library/Receipts/MySQL*  
  9. sudo rm -rf /var/db/receipts/com.mysql.* 

评论: