Bulk or mass killing misbehaving MySQL queries
Posted
by deadprogrammer
on Server Fault
See other posts from Server Fault
or by deadprogrammer
Published on 2009-05-22T16:56:55Z
Indexed on
2010/03/13
21:25 UTC
Read the original article
Hit count: 362
mysql
|bulk-action
How do you kill a mass of MySQL queries? Here is a good approach:
mysql> SELECT concat('KILL ',id,';') FROM information_schema.processlist WHERE user='root' INTO OUTFILE '/tmp/a.txt';
mysql> source /tmp/a.txt;
Any others besides clicking them to death in MySQL Administrator GUI?
© Server Fault or respective owner