Skip to content

Instantly share code, notes, and snippets.

@DanAmt
Created March 8, 2022 08:52
Show Gist options
  • Save DanAmt/a3b5444a229be690d96c9a47fd8c2b48 to your computer and use it in GitHub Desktop.
Save DanAmt/a3b5444a229be690d96c9a47fd8c2b48 to your computer and use it in GitHub Desktop.
Kill all threads on a mysql db
Select concat('KILL ',id,';') from information_schema.processlist where db='ipworkflow';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment