Script to Find and Kill Running Process in MySQL

In this post, I provide different ways to show currently running processes and sessions in MySQL. Also, I provide way to kill running and sleep process in MySQL.

When DBA is performing stuff like, monitoring database at that time it is required to find and kill some unwanted processes from MySQL Server.

How to find running processes / sessions?

Below are three different ways to find:

How to kill running processes / sessions?

Please share your ideas and opinions about this topic with me, your contribution will add true value to this topic.
If anyone has doubts on this topic then please do let me know by leaving comments or send me an email.

If you like this post, then please share it with others.
Please follow, I will share my experience towards the success of Database Research and Development Activity.

I put up a post every day, please keep reading and learning.
Discover Yourself, Happy Blogging !
Anvesh M. Patel.

More from

Leave a Reply

1 Comment on "Script to Find and Kill Running Process in MySQL"

Notify of
Sort by:   newest | oldest | most voted

This actually answered my problem, thank you!