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.

My sql error

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

  1. rootuser

    rootuser Well-Known Member

    Joined:
    Jan 31, 2005
    Messages:
    124
    Likes Received:
    0
    Trophy Points:
    16
    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:
    16
    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 ;)
     
  3. rootuser

    rootuser Well-Known Member

    Joined:
    Jan 31, 2005
    Messages:
    124
    Likes Received:
    0
    Trophy Points:
    16
    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:
    16
    Location:
    India

    Hello,

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

    Check it now :)
     
  5. rootuser

    rootuser Well-Known Member

    Joined:
    Jan 31, 2005
    Messages:
    124
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    ***INDIA***
    ok thanks bijo iam checking that now :D :D :D
     
Loading...

Share This Page