fix mysql commit problem on server