After upgrading to Yosemite, I noticed MySQL would no longer start on startup even though "Automatically Start MysQL Server on Startup" was enabled in the MySQL system preferences.
I'm not certain what caused this to break, but I suspect the LaunchDaemon file that MySQL 5.6 uses is no longer being recognized. Maybe the location it is placing the .plist file has been changed in OS X 10.10.
To resolve I created /Library/LaunchDaemons/com.mysql.mysql.plist with the following contents:
I'm not certain what caused this to break, but I suspect the LaunchDaemon file that MySQL 5.6 uses is no longer being recognized. Maybe the location it is placing the .plist file has been changed in OS X 10.10.
To resolve I created /Library/LaunchDaemons/com.mysql.mysql.plist with the following contents:
KeepAlive Label com.mysql.mysqld ProgramArguments /usr/local/mysql/bin/mysqld_safe --user=mysql
Then load the newly created plist file
sudo launchctl load -w /Library/LaunchDaemons/com.mysql.mysql.plist