Skip to content

Instantly share code, notes, and snippets.

@twoism-dev
Created December 7, 2012 16:52
Show Gist options
  • Save twoism-dev/4234592 to your computer and use it in GitHub Desktop.
Save twoism-dev/4234592 to your computer and use it in GitHub Desktop.

Revisions

  1. twoism-dev created this gist Dec 7, 2012.
    11 changes: 11 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    Use mysqldump to backup your databases to text files!
    Stop the database server
    sudo rm /usr/local/mysql
    sudo rm -rf /usr/local/mysql*
    sudo rm -rf /Library/StartupItems/MySQLCOM
    sudo rm -rf /Library/PreferencePanes/My*
    edit /etc/hostconfig and remove the line MYSQLCOM=-YES-
    rm -rf ~/Library/PreferencePanes/My*
    sudo rm -rf /Library/Receipts/mysql*
    sudo rm -rf /Library/Receipts/MySQL*
    sudo rm -rf /private/var/db/receipts/*mysql*