Skip to content

Instantly share code, notes, and snippets.

@javiertoledo
Created July 4, 2012 22:40
Show Gist options
  • Save javiertoledo/3049910 to your computer and use it in GitHub Desktop.
Save javiertoledo/3049910 to your computer and use it in GitHub Desktop.
Completely remove MySQL from Mac OS X
# Originally found at http://steveno.wordpress.com/2009/03/26/uninstall-mysql-on-mac-os-x/
# Saved here for the record
sudo rm /usr/local/mysql
sudo rm -rf /usr/local/mysql*
sudo rm -rf /Library/StartupItems/MySQLCOM
sudo rm -rf /Library/PreferencePanes/My*
sudo vi /etc/hostconfig # and remove the line MYSQLCOM=-YES-
sudo rm -rf /Library/Receipts/mysql*
sudo rm -rf /Library/Receipts/MySQL*
sudo rm -rf /var/db/receipts/com.mysql.*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment