Auto-starting MySQL on Yosemite
Question
I am unable to start CatDV Server on OSX Yosemite after a new install or reboot due to MySQL connection errors.
Answer
There is a known issue with MySQL installations on OSX Yosemite where it fails to auto-restart, which in turn causes CatDV Server to fail. The following steps will fix the problem;
1. Download the plist file from the FTP link below: –
http://www.squarebox.co.uk/pub/download/com.mysql.mysql.plist
2. Copy the downloaded plist file to the following folder: –
/Libarary/LaunchDaemons
3. Open up a terminal session and run the following four commands, one at a time: –
sudo chown root /Library/LaunchDaemons/com.mysql.mysql.plist
sudo chgrp wheel /Library/LaunchDaemons/com.mysql.mysql.plist
sudo chmod 644 /Library/LaunchDaemons/com.mysql.mysql.plist
sudo launchctl load -w /Library/LaunchDaemons/com.mysql.mysql.plist
4. And finally reboot the workstation.
Last updated – August 2015