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.

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:
    1
    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,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Our interface only displays a subset of the privileges a user can have.
     
  3. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    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.
     
  4. darenburbridge

    Joined:
    Oct 6, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    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