I noted that “daemonic enable mysql” did not cause mysqld to start when my 
system restarted, on Yosemite.  It looks like Apple no longer supports 
StartupItems on Yosemite.  I was able to get mysqld to startup using launchd, 
using a file in /Library/LaunchDaemons:

 % cat /Library/LaunchDaemons/com.mysql.mysql.plist 

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" 
"http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
<plist version="1.0">
<dict>
        <key>KeepAlive</key>
        <true/>
        <key>Label</key>
        <string>com.mysql.mysqld</string>
        <key>ProgramArguments</key>
        <array>
                <string>/sw/bin/mysqld_safe</string>
                <string>--user=_mysql</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
</dict>
</plist>

Is there any point to including the daemonic package in 10.10?
-- 
Kevin Horton
------------------------------------------------------------------------------
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to