shutdown mysql after processing update