base mysql class is completed