Adding mysql class for webmcr <2.4