update mysql_querier to handle errors on connection