MySQL5, OS X 10.4.10, startups, etc.

Ryan Schmidt ryandesign at macports.org
Sun Sep 30 23:41:59 PDT 2007


On Sep 30, 2007, at 10:55, Chris Janton wrote:

> I am trying to get mysql to start/restart properly on my system.
>
> sudo port install mysql5 +darwin_8 +server

FYI, you do not need to specify +darwin_8; +darwin_8 is auto-selected  
for you on Darwin 8 (a.k.a. Mac OS X 10.4) systems.


> I get the output
>
> --->  Creating launchd control script
> ###########################################################
> # A startup item has been generated that will aid in
> # starting mysql5 with launchd. It is disabled
> # by default. Execute the following command to start it,
> # and to cause it to launch at startup:
> #
> # sudo launchctl load -w /Library/LaunchDaemons/ 
> org.macports.mysql5.plist
> ###########################################################
>
> I finish up (after the installation) with
>
> sudo launchctl load -w /Library/LaunchDaemons/ 
> org.macports.mysql5.plist
> nothing found to load
>
> hmmm - any ideas why this isn't found/loaded/etc ?

That's odd. I only get the message "nothing found to load" when a  
plist file does not exist. Does it exist? Here's how it is on my system:

$ ls -l /Library/LaunchDaemons/org.macports.mysql5.plist
lrwxr-xr-x   1 root  wheel  74 Sep 10 21:49 /Library/LaunchDaemons/ 
org.macports.mysql5.plist -> /opt/local/etc/LaunchDaemons/ 
org.macports.mysql5/org.macports.mysql5.plist

$ ls -l /opt/local/etc/LaunchDaemons/org.macports.mysql5/ 
org.macports.mysql5.plist
-rw-r--r--   2 root  wheel  981 Oct  1 01:29 /opt/local/etc/ 
LaunchDaemons/org.macports.mysql5/org.macports.mysql5.plist

If you do not have these items, what does "port contents mysql5" tell  
you? Is the plist shown there?

$ port contents mysql5 | grep plist
   /Library/LaunchDaemons/org.macports.mysql5.plist
   /opt/local/etc/LaunchDaemons/org.macports.mysql5/ 
org.macports.mysql5.plist

Do you have the latest MacPorts and port definitions? "sudo port  
selfupdate"




More information about the macports-users mailing list