The steps:

First you need to edit the file in: /etc/hostconfig and remove the line

Since this is a system file I advise you to open it with nano in terminal:

  1. Open Terminal
  2. sudo nano /etc/hostconfig
  3. Enter your password if you’re not authed yet.
  4. Delete the following line: “MYSQLCOM=-YES-”
  5. CTRL+X (This is the command for closing NANO, Enter the “Y” key to save the file and exit nano).

Second step:

Make sure MySQL is not running.

  1. Open Terminal and copy and paste and run the following commands:
sudo rm /usr/local/mysql 
sudo rm -rf /usr/local/mysql* 
sudo rm -rf /Library/StartupItems/MySQLCOM 
sudo rm -rf /Library/PreferencePanes/My* 
sudo rm -rf /Library/Receipts/mysql* 
sudo rm -rf /Library/Receipts/MySQL* 
sudo rm /etc/my.cnf

MySQL is now removed from your MAC.

最新文章

  1. 简简单单的一个PYTHON多进程实现
  2. Unity3D Built-in Shader详解一
  3. 【转】SVN提示:由于目标机器积极拒绝,无法连接 的解决方法
  4. R语言将数据框转成xts
  5. c++ 进程权限的提升
  6. windows下使用VirtualEnv
  7. 使用WebJar管理css、JavaScript文件
  8. 关于MDCSwipeToChooseView的应用
  9. facebook快速登录常见错误:后台设置、域名权限、开发模式、公开、沙盒
  10. 【C#、csharp】HTTPGET,POST请求
  11. Scientific Toolworks Understand for linux安装方法
  12. rsync+inotify实现文件同步更新(配置)
  13. 内部办公网与IDC机房的GRE隧道配置实践
  14. Redis之实战篇(与Mybatis整合)
  15. Java(20)file i/o
  16. mysql加速导入数据的简单设置
  17. left join on and 与 left join on where的区别
  18. 模拟Oracle行迁移和行链接
  19. XML格式化工具
  20. 微信小程序,天气预报(百度地图开放平台API)

热门文章

  1. OpenLayers 3 的地图基本操作
  2. Timewarp 一种生成当中帧技术,异步时间扭曲(Asynchronous Timewarp)
  3. Debian 安装Nvidia显卡驱动
  4. c++模板入门
  5. Map 根据value 排序
  6. Ubuntu下安装使用MongoDB
  7. 为什么我的Android SDK Manager中只显示已安装的package?
  8. hibernate事务并发问题(脏读,不可重复读,幻读)
  9. POJ 3624 Charm Bracelet 简单01背包
  10. FragmentActivity与Fragment两者交互方法简介(转)