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.

MySQL questions

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

  1. rodesignweb

    rodesignweb Member

    Joined:
    Aug 5, 2007
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    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

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

    http://dev.mysql.com/doc/refman/5.0/en/privileges.html

    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.
     
Loading...

Share This Page