Skip to main content

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

Comments

5 comments

  • 24x7server
    Hi, Try the below plugin and see if that provides any cPanel user interface as you wanted. cPanel App Catalog :: WatchMySQL
    0
  • electric
    I actually already have that plugin. It does not provide any end-user interface in their cpanel. (It works great for admins, though!)
    0
  • cPanelMichael
    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:
    mysql MySQL> SHOW PROCESSLIST;
    Thank you.
    0
  • electric

    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?)
    0
  • cPanelMichael
    Can this be executed from a cpanel page that I create myself? (Can I run that as a mysql query using PHP or something?)

    This is unsupported, but I believe it's possible to use the "mysqli" PHP extension for this purpose per the comment listed at the bottom of the following document: PHP: mysql_list_processes - Manual Information on creating a cPanel plugin is available at: Guide to cPanel Plugins - Software Development Kit - cPanel Documentation Thank you.
    0

Please sign in to leave a comment.