MySQL Bag Of Tricks
Introduction
This document has many useful command.
MySql Kill users
You can use the following syntax to lookup users within a database
SHOW PROCESSLIST;
SELECT group_concat(concat('KILL ',id,';') SEPARATOR ' \n') FROM information_schema.processlist WHERE `db` LIKE 'ashe%' AND `user` ='kiwilive';
Then cut and paste into a query window