Created
October 17, 2013 07:54
-
-
Save arnaudbreton/7020848 to your computer and use it in GitHub Desktop.
Remove MySQL from OSX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Source: http://johnmcostaiii.net/2011/removing-mysql-osx-lion/ | |
sudo rm /usr/local/mysql | |
sudo rm -rf /usr/local/mysql* | |
sudo rm -rf /Library/StartupItems/MySQLCOM | |
sudo rm -rf /Library/PreferencePanes/My* | |
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.* | |
# Edit the following file, removing the line `MYSQLCOM=-YES-`. | |
# you may need sudo for write privileges to edit the file | |
# TIP: when using vim, use `dd` to delete the line and then `:wq` to save | |
# the file | |
sudo vim /etc/hostconfig # remove the line MYSQLCOM=-YES- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment