Skip to content

Instantly share code, notes, and snippets.

@dmitriy-kiriyenko
Created December 5, 2011 11:35
Show Gist options
  • Save dmitriy-kiriyenko/1433316 to your computer and use it in GitHub Desktop.
Save dmitriy-kiriyenko/1433316 to your computer and use it in GitHub Desktop.
MySQL - install and remove
sudo rm -rf /usr/local/mysql*
sudo rm -rf /Library/StartupItems/MySQLCOM
sudo rm -rf /Library/PreferencePanes/My*
sudo rm -rf /Library/Receipts/mysql*
sudo rm -rf /Library/Receipts/MySQL*
sudo rm -rf /var/db/receipts/com.mysql.*
sudo rm /etc/my.cnf
sudo vi /etc/hostconfig and delete string MYSQLCOM=-YES-
Download from http://dev.mysql.com/downloads/mysql/5.1.html#downloads
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment