I'm trying to uninstall MySQL on OS X 10.10.3 and I found these commands to follow:
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*
It seems that /etc/hostconfig
file doesn't exist.
Did I miss anything? What does this file do and what should I do to ensure MySQL is completely removed?
As of OS X Yosemite, /etc/hostconfig is no longer installed as part of the OS.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With