SHOW PROCESSLIST
Display the running threads of the user. It should be noted that except the root user who can see all running threads, other users can only see their own running threads, and cannot see the running threads of other users.
grammar:
SHOW [FULL] PROCESSLIST
illustrate:
Common Command types are as follows:
Other types can refer to MySQL official website for explanation
View the threads running by the current user
SHOW PROCESSLIST
SHOW, PROCESSLIST