Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to query the processes being executed by mysql

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report