Created
December 6, 2019 16:17
-
-
Save chris-huffman/6c5d93cf95c063f8bdf051081be89601 to your computer and use it in GitHub Desktop.
Delete Multiple MySQL processes
This file contains 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
for PID in $(mysqladmin processlist | grep 'INSERT INTO `search_tmp' | awk '{ print $2; }'); do mysqladmin kill $PID; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment