modify mysql socket closed