Add check_mysql method

This small change adds a new check_mysql method to validate MySQL
credentials.
Merge pull request #147 from mattt416/add_check_mysql

Add check_mysql method