Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

MySQL questions

Discussion in 'Database Discussion' started by rodesignweb, May 11, 2008.

  1. rodesignweb

    rodesignweb Member

    Aug 5, 2007
    Likes Received:
    Trophy Points:

    I am using 'cPanel 11.18.3-R21703' and I want to know if there is a way to grant the 'EXECUTE' privilege to a database user other than by granting 'ALL' privileges (from CPanel).

    Also, it would be nice to see exactly which privileges are granted when 'ALL' is chosen.

    And as a suggestion, it would be fine, if the following options may be added to the MySQL Maintenance page (or there is another way to use them?)

    a) Create View
    b) Create Routine (a.k.a Stored Procedure)
    c) Alter Rontine
    d) Execute (routine / stored procedure)

    Please advice. Thank you!
  2. cPanelJesse

    cPanelJesse Technical Analyst Manager
    Staff Member

    Sep 19, 2007
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    You can find the definition of the privileges you can use on a database here;

    for example, to manually set the create view and show view privileges to a database/user you could use something like;

    update mysql.user set Create_view_priv='Y',Show_view_priv='Y' where user='root';
    flush privileges;

    They have more examples on the page above on how to do this manually.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice