Skip to content

Instantly share code, notes, and snippets.

@toamitkumar
Created March 25, 2011 18:36
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save toamitkumar/887350 to your computer and use it in GitHub Desktop.
Save toamitkumar/887350 to your computer and use it in GitHub Desktop.
sudo rm /usr/local/mysql
sudo rm -rf /usr/local/mysql*
sudo rm -rf /Library/StartupItems/MySQLCOM
sudo rm -rf /Library/PreferencePanes/My*
vim /etc/hostconfig and removed the line MYSQLCOM=-YES-
rm -rf ~/Library/PreferencePanes/My*
sudo rm -rf /Library/Receipts/mysql*
sudo rm -rf /Library/Receipts/MySQL*
Don't forget this:
sudo rm -rf /var/db/receipts/com.mysql*
sudo rm -rf /etc/my.cnf
sudo rm -rf /private/var/db/receipts/com.mysql.mysql*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment