rewrite MySqlResourceManager for drill