Created
July 6, 2017 02:38
-
-
Save rochefort/c88ee0c9ec37c710b48c8883293e4798 to your computer and use it in GitHub Desktop.
generate sqls to kill all mysql processes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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