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!

phpMyAdmin GRANT SELECT on one table in DB?

Discussion in 'Database Discussion' started by gogy82, Apr 23, 2015.

  1. gogy82

    gogy82 Registered

    Joined:
    Apr 23, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Europe
    cPanel Access Level:
    Root Administrator
    Hello guys

    I wanted to grant select privileges to user on one table only

    tried this way with root user trough WHM->cPanel->phpMyAdmin

    Code:
    GRANT SELECT ON dbname.tblname to 'dbuser'
    Error
    Code:
     #1142 - GRANT command denied to user 'cpses_im2lk8XfRe'@'localhost' for table 'tblname'
    How to GRANT SELECT on one table only to user? I don't want this user to see all tables.

    Thank you

    Kind regards
    Goran
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    I could not reproduce this issue on a test machine. Are you accessing Web Host Manager directly, and as "root"? Also, do you experience the same issue through the command line via SSH?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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