Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

can't find /etc/hostconfig file on OS X 10.10.3

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?

like image 838
Brian Avatar asked May 06 '15 06:05

Brian


1 Answers

As of OS X Yosemite, /etc/hostconfig is no longer installed as part of the OS.

like image 184
Quanlong Avatar answered Nov 09 '22 10:11

Quanlong