MySQL connection validator class for use with Tomcat JDBC pool