make sure we get the correct database/schema name when quering to a schema that is not the same as the connection database setting in connection config
update AR patch for mysql2