Uninstall MySQL in MacOSX 发表于 2012-08-24 | | 阅读次数 准备工作 备份数据 停止MySQL Server 卸载开始123456789101112sudo vim /etc/hostconfig (remove the line MYSQLCOM=-YES-)sudo rm /usr/local/mysqlsudo rm -rf /usr/local/mysql*sudo rm -rf /Library/StartupItems/MySQLCOMsudo rm -rf /Library/PreferencePanes/My*sudo rm -rf /Library/Receipts/mysql*sudo rm -rf /Library/Receipts/MySQL*# 如果需要安装旧版本,必须执行这句sudo rm -rf /private/var/db/receipts/*mysql*sudo rm /etc/my.cnf 本文作者: IIssNan 本文链接: http://notes.iissnan.com/2012/uninstall-mysql-in-macosx/ 版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 3.0 CN 许可协议。转载请注明出处!