Skip to content

Instantly share code, notes, and snippets.

@marksweiss
Created January 1, 2011 04:02
Show Gist options
  • Save marksweiss/761544 to your computer and use it in GitHub Desktop.
Save marksweiss/761544 to your computer and use it in GitHub Desktop.
#!/bin/bash
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 /var/db/receipts/com.mysql.*
sudo rm /etc/my.conf
sudo vi /etc/hostconfig # (Remove line MYSQLCOM=-YES)
sudo rm -rf /Library/Reciepts/mysql*
sudo rm -rf /Library/Reciepts/MySQL*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment