change mysql class