Hi, My MySQL icon in System Preferences is quite basic. Nowhere to put in mysqld startup parameters.
I don't have any LaunchDaemons, so it seems it started from ./Library/StartupItems/MySQLCOM/MySQLCOM, however I still haven't quite determined where to put the startup parameters. I'll have to try to understand the MySQLCOM shell script I guess and work it out.... On Wed, Jan 14, 2009 at 6:52 PM, Peter De Berdt <[email protected]>wrote: > > On 14 Jan 2009, at 03:00, Greg Hauptmann wrote: > > Hi, > > Can anyone help me out re how I change the startup options for mysql (v5.0) > running on my Mac? (I just want to add the "--log" option is about it). I > tried doing "sudo ./Library/StartupItems/MySQLCOM/MySQLCOM restart" however > this started a 2nd instances of mysql & mysqld. > > > If you used the package installer from the MySQL site, you should have > gotten a control panel, which you will find in your System Settings. If it > isn't there, it's probably somewhere on the disk image of the MySQL > installer. Just doubleclick it to install. > > If you have compiled MySQL yourself, you probably used a LaunchDaemon, in > which case you would edit the launchdaemon plist file and add the parameter > in there. > Unloading a launchdaemon: sudo launchctl unload -w > /Library/LaunchDaemons/com.mysql.blabla.plist > Loading a launchdaemon: sudo launchctl load -w > /Library/LaunchDaemons/com.mysql.blabla.plist > > > > Best regards > > > Peter De Berdt > > > > > -- Greg http://blog.gregnet.org/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

