kill mysql show processlist kill

#!/bin/bash
date

for id in `mysqladmin   processlist | grep -i  "your detect filter" |awk '{print $2}'`
do
mysqladmin kill ${id};
echo  ${id}.'\n';
done    

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Protected by WP Anti Spam