packages/mysql: use new service functions