mysql: Explicitly use bash as shell
mysql: Improved auto-detection of default mysqld binary

Don't try to use mysqld_safe by default as it performs its own
monitoring and restarting of mysqld which interferes with Pacemaker.
Also look in more places for the mysqld binary as for example
Red Hat-based distributions put the binary in /usr/libexec, not in
$PATH.