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
2 comments:
When I run this I get: /Library/LaunchDaemons/com.mysql.mysql.plist: Invalid property list
Here is my version that works:
https://gist.github.com/spurv/bc2534b99e2558790569
Post a Comment