删除Mac MySQL Published at: 2014-09-12 | Reading: 115 words ~1min | PV/UV: / 首先要停止MySQL的服务,可在偏好设置中停止其服务,然后执行下列命令 1 2 3 4 5 6 7 $ 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 -rf /var/db/receipts/com.mysql.* 编辑/etc/hostconfig,删除其中的MYSQLCOM=-YES-这行