correct mysql service status check