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!

Interesting issue

Discussion in 'General Discussion' started by darenburbridge, May 23, 2008.

  1. darenburbridge

    Joined:
    Oct 6, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    151
    I am sure that somene else has had this issue so I thought I would post it here to see if someone has the answer;

    I am creating local user database and username via root password for mysql and granting priviledges to them for all. Although this works and you can connect to the database with the new user it does not show in cpanel that they have the priviledges, what does cpanel do to show these in the cpanel window? IE to show the following;
    Users in shop
    server_admin (Privileges: ALL PRIVILEGES)

    Connection Strings
    Perl $dbh = DBI->connect("DBI:mysql:server_shop:localhost",
    "server_admin","<PASSWORD HERE>");
    PHP $dbh=mysql_connect ("localhost", "server_admin",
    "<PASSWORD HERE>") or die('Cannot connect to the database because: ' . mysql_error());
    mysql_select_db ("server_shop");


    Any help appreciated!

    Thanks
     
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,563
    Likes Received:
    43
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    Our interface only displays a subset of the privileges a user can have.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,563
    Likes Received:
    43
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    If you are doing this via root login to a user's cPanel, it is not possible to perform MySQL activities.

    You should be able to perform them via PHPMyAdmin via WHM as root.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. darenburbridge

    Joined:
    Oct 6, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    151
    Subset

    How do I get these to display? I am adding the user priviledges via root login but they do not display!
     
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