I have been searching around on how to disable auto start for MySql daemon at Mac OSX. Here is the solution.
Locate the file at /etc/hostconfig.
You will be able to find an item MYSQLCOM=-YES- . Simply change it to MYSQLCOM=-NO-. Then it will not run MySQL daemon when system start up.
Of course you will need a root privilege. For information on how to enable root in Mac OSX (cause it is disabled by default). Please refer to my Mac blog section.
Just for your information, the original startup script is located in /Library/StartupItems directory.
Version of machine:
- Mac OSX 10.4.x
- MySQL 5.0.x
No comments:
Post a Comment