最佳答案
After upgrading OS X my install of MySQL stopped loading on startup.
This walk-through on MySQL says:
"The Startup Item installation adds a variable MYSQLCOM=-YES- to the system configuration file /etc/hostconfig. If you want to disable the automatic startup of MySQL, change this variable to MYSQLCOM=-NO-."
So, I opened that file and it says:
# This file is going away
AFPSERVER=-NO-
AUTHSERVER=-NO-
TIMESYNC=-NO-
QTSSERVER=-NO-
MYSQLCOM=-YES-
I assume OSX dev's added the # This file is going away
but I'm not certain.
If that is the case, what is the proper way to start MySQL on startup on OSX Yosemite?