The mysql ocf script located at /usr/lib/ocf/resource.d/heartbeat/mysql is not compatible with the default installation of mysql-server on CentOS5.<br />
<br />
Some paths are wrong by default and the status function deleted the PID file instead of reporting that mysqld is running.<br />
<br />
I have attached the fixed script. For a diff, see additional information.
↧