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.

Increase privileges for user account

Discussion in 'Database Discussions' started by upsforum, Apr 30, 2017.

  1. upsforum

    upsforum Well-Known Member

    Joined:
    Jul 27, 2005
    Messages:
    454
    Likes Received:
    0
    Trophy Points:
    166
    An account needof run this query but mysql require super user privileges

    CREATE DEFINER=`AR20190_incitta`@`%` PROCEDURE `spTipiCasa_select`()
    SELECT

    tbTipiCasa.IDTipoCasa,

    tbTipiCasa.Descrizione

    FROM tbTipiCasa
     
  2. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    260
    Likes Received:
    76
    Trophy Points:
    28
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    cPanel > DATABASES > MySQL Databases

    Look at the Current Databases, and click on the 'Privileged User' you want to change the privileges for (not the dustbin !!!).
    Manage User Privileges as required, and click on 'Make Changes'

    youtube.com/watch?v=lXnvDD9j6Hs
     
    #2 rpvw, Apr 30, 2017
    Last edited by a moderator: Apr 30, 2017
  3. upsforum

    upsforum Well-Known Member

    Joined:
    Jul 27, 2005
    Messages:
    454
    Likes Received:
    0
    Trophy Points:
    166
    in Cpanel > DB I active all provileges for it
     
  4. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    260
    Likes Received:
    76
    Trophy Points:
    28
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,286
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    You won't be able to grant the SUPER privilege to a database user with cPanel access alone. Assigning this privilege requires root access to the system:

    how to add super privileges to mysql database?
    How to grant super privilege to the user?

    That said, I'd check with the developer of the application you are using to see if there's a workaround to assigning that privilege to a database user due to the potential security risks:

    MySQL :: MySQL 5.6 Reference Manual :: 6.2.1 Privileges Provided by MySQL

    Thank you.
     
Loading...

Share This Page