Added MySQL helper functions to MetricsHunter class