Get the App
SLTechnology News&Howtos  ›  Database  › 

How to query the processes being executed by mysql

Shulou Source: shulou.com Published: 2022-06-01 18:53:48 10月04日 Update

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.

Tags: Process process query thread input following topic content place secret account text method more permissions plate catalog article industry information Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi Apple macOS Redmi Microsoft