rework the mysql service