How We Kill mysql sleep processes Like:
+------+-----------+-----------+------------------------+---------+------+----------------+-----------------------------------
A easy way:
for i in `mysql -e "show processlist" | awk '/Sleep/ {print $1}'` ; do mysql -e "KILL $i;"; done