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 Store Procedure

Discussion in 'General Discussion' started by persiasoft, May 18, 2008.

  1. persiasoft

    persiasoft Active Member

    Joined:
    Nov 15, 2004
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    Does cPanel support mysql store procedure ?

    i get "you need the SUPER privilege for this operation" when im trying to use procedures.
     
  2. viraj

    viraj Well-Known Member

    Joined:
    Sep 28, 2006
    Messages:
    209
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Yes cPanel supports MySQL Stored Procedures & you'd [the DB user would] need atleast executable permissions to run them from your scripts. :cool:
    Login to the PHPMyAdmin as root & assign proper permissions to the user such that it can execute the SPs from the scripts.. :)
     
  3. persiasoft

    persiasoft Active Member

    Joined:
    Nov 15, 2004
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    what about trigger ?
     
  4. viraj

    viraj Well-Known Member

    Joined:
    Sep 28, 2006
    Messages:
    209
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Hi,

    Stored Procedures are different from Triggers :)
    Triggers require SuperUser permissions due to the effect they can do, not only on the databases but on the database server..
     
Loading...

Share This Page