Answers for "kill all process list mysql command"

SQL
1

bulk kill mysql processlist

SELECT CONCAT('KILL ',id,';') AS IDs
FROM information_schema.processlist 
WHERE TIME >10
AND command = "sleep"
Posted by: Guest on December-14-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language