mysql class