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!

My sql error

Discussion in 'Database Discussion' started by rootuser, Jul 2, 2005.

  1. rootuser

    rootuser Well-Known Member

    Joined:
    Jan 31, 2005
    Messages:
    124
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    ***INDIA***
    getting a strange error in mysql database

    Warning: mysql_pconnect(): Access denied for user 'user'@'localhost' (using password: YES) in /home/user/public_html/function.php on line 4
    Could not connect


    through shell also this same error is getting.

    mysqladmin: connect to server at 'localhost' failed
    error: 'Access denied for user 'user'@'localhost' (using password: YES)'


    Iam using following version of mysql

    MySQL-client-4.1.11-0
    MySQL-shared-compat-4.1.11-0
    MySQL-embedded-4.1.11-0
    MySQL-bench-4.1.11-0
    MySQL-shared-4.1.11-0
    mod_auth_mysql-20030510-2.ent
    perl-DBD-MySQL-2.1021-3
    MySQL-devel-4.1.11-0
    MySQL-server-4.1.11-0


    Any help.Thanks!
     
    #1 rootuser, Jul 2, 2005
    Last edited: Jul 2, 2005
  2. bijo

    bijo Well-Known Member

    Joined:
    Aug 21, 2004
    Messages:
    475
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    India
    Hello,

    Go to cpanel and check the access host list. If it is empty add the % entry or host entry in the addhost list

    Let me know the status ;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. rootuser

    rootuser Well-Known Member

    Joined:
    Jan 31, 2005
    Messages:
    124
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    ***INDIA***
    please tell me where this access log list in user cpanel.
     
  4. bijo

    bijo Well-Known Member

    Joined:
    Aug 21, 2004
    Messages:
    475
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    India

    Hello,

    Not acces log :D access host, Go to the user cpanel------> select mysql. And there is an option. ;)

    Check it now :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. rootuser

    rootuser Well-Known Member

    Joined:
    Jan 31, 2005
    Messages:
    124
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    ***INDIA***
    ok thanks bijo iam checking that now :D :D :D
     
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