Skip to content

Instantly share code, notes, and snippets.

@runningnet
Created December 12, 2014 07:33
Show Gist options
  • Select an option

  • Save runningnet/8116d92113f4331e8674 to your computer and use it in GitHub Desktop.

Select an option

Save runningnet/8116d92113f4331e8674 to your computer and use it in GitHub Desktop.
select concat('KILL ',id,';') from information_schema.processlist where user='root' into outfile '/tmp/a.txt';
source /tmp/a.txt;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment