Check for mysql running before trying anything (bug 1076972)