Switch off MySQL autostart on Mac OS

My operation system is Mac OS 10.6 and I’ve installed MySQL sometime ago. I need the database but I don’t like when it works all the time.

So, to turn off autostart for MySQL need:
#1 Open file /etc/hostconfig with sudo privileges, for example with vi editor
#2 Change line from “MYSQLCOM=-YES-” to “MYSQLCOM=-NO-”

The location of original script that launch the DB server at startup is /Library/StartupItems
But this is only for your information no need to change something there.

Books to read

Leave a Reply

Your email address will not be published. Required fields are marked *