The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Possible to enable "Slow Query Log" for each domain/website?

Discussion in 'Workarounds and Optimization' started by electric, Sep 25, 2012.

  1. electric

    electric Well-Known Member

    Joined:
    Nov 5, 2001
    Messages:
    697
    Likes Received:
    1
    Trophy Points:
    18
    Hello,

    I am wondering if it is possible for individual cpanel users to see a slow query log for only their own databases.

    For example:

    1. Customer logs into their cpanel.
    2. Clicks into the "Statistics and Logs" section.
    3. See a link called "Slow Query Log" and clicks it.
    4. **Poof!** now customer can see a list of their slow queries and diagnose their scripts a little better.

    Is this possible?
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    It is possible to configure a plugin for cPanel that you create that grabs that data. It doesn't already exist to my knowledge, though, so you'd have to create it.
     
Loading...

Share This Page