Remove warning from MySQL test run.

Short circuit the Mysql::ConnectionAdapter#error_number to return early if the error is
one in which there is no connection. This removes a warning from the test suite run.