Skip to content

Instantly share code, notes, and snippets.

@chinghanho
Created October 12, 2012 07:33
Show Gist options
  • Save chinghanho/3877799 to your computer and use it in GitHub Desktop.
Save chinghanho/3877799 to your computer and use it in GitHub Desktop.
OS X: How to uninstall MySQL on OS X
# Maintain in: https://gist.github.com/3877799
# Resources: http://johnmcostaiii.net/2011/removing-mysql-osx-lion/
sudo rm /usr/local/mysql
sudo rm -rf /usr/local/mysql*
sudo rm -rf /Library/StartupItems/MySQLCOM
sudo rm -rf /Library/PreferencePanes/My*
rm -rf ~/Library/PreferencePanes/My*
sudo rm -rf /Library/Receipts/mysql*
sudo rm -rf /Library/Receipts/MySQL*
vim /etc/hostconfig # and remove the line MYSQLCOM=-YES-
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment