Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rochefort/c88ee0c9ec37c710b48c8883293e4798 to your computer and use it in GitHub Desktop.
Save rochefort/c88ee0c9ec37c710b48c8883293e4798 to your computer and use it in GitHub Desktop.
generate sqls to kill all mysql processes
SELECT CONCAT('kill ', id, ';') FROM information_schema.PROCESSLIST;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment