Check for mysql running before trying anything (bug 1076972)
Merge pull request #290 from muffinresearch/fix-mysql-first-run

Fix mysql issues on first run (bug 1076972)