Possible for end-user to see all their active mysql processes?

electric

Well-Known Member
Nov 5, 2001
789
10
318
Similar to the "WHM-->SQL Services »Show MySQL Processes" functionality.

Is it possible for the cpanel end-user to see a list of all their own MySQL processes?

We sometimes have customers who have crazy mysql problems, and ability for them to see a list of their active mysql processes would be very helpful.

Thanks!
 

electric

Well-Known Member
Nov 5, 2001
789
10
318
I actually already have that plugin. It does not provide any end-user interface in their cpanel.

(It works great for admins, though!)
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
Is it possible for the cpanel end-user to see a list of all their own MySQL processes?
Hello,

It's not possible in the cPanel UI, but they can access their account via SSH and run the following commands to see their active MySQL processes:

Code:
mysql
MySQL> SHOW PROCESSLIST;
Thank you.
 

electric

Well-Known Member
Nov 5, 2001
789
10
318
Code:
mysql
MySQL> SHOW PROCESSLIST;
Can this be executed from a cpanel page that I create myself?

(Can I run that as a mysql query using PHP or something?)
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463