Add support for MySQL databases. refs #5778
Pep8 fix