make sure mysql started finished before go to next step