How to query the processes being executed by mysql
Let's talk about how to query the processes being performed by mysql. The secret of the text is that it is relevant to the topic. So, no more gossip, let's go straight to the following, and I'm sure you'll benefit from reading this article on how to query the processes being executed by mysql.
There are two ways to view mysql processes
1. Enter mysqladmin processlist under the mysql/bin directory
2. Start mysql and enter show processlist
If you have SUPER permission, you can see all the threads; otherwise, you can only see the threads that you initiated (that is, the threads running under the corresponding MySQL account).
3. To delete an executing process: kill the process kill-9, process ID
Is there anything you don't understand about how to query the process being executed by mysql above? Or if you want to know more about it, you can continue to follow our industry information section.