Categories
Mac OS X Server System Software Notes

Text* Snippets: MySQL launchd item for Mac OS X Tiger [mysql] [osx] [10.4] [tiger] [launchd]

Text* Snippets: MySQL launchd item for Mac OS X Tiger [mysql] [osx] [10.4] [tiger] [launchd]

I had to reinstall Mysql because it wasnt one of the things I backed up before erasing my hard drive. Since Im now running Mac OS X 10.4 Tiger, I decided to set it up to start when the system boots, but the system for creating startup items has changed slightly. So I saved the following xml in /Library/LaunchDaemons/com.mysql.Mysql.plist:

Lingon is your friend. It is a GUI for creating launchd plists. Only a little obtuse, but switching to “advanced” mode will show you what your plist looks like, so it’s easy to compare to any samples you may be looking at.