MySQL connection error reporting