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.

Could not connect to the database, see error message below. Can't connect to local My

Discussion in 'General Discussion' started by Charlieme, Jan 6, 2010.

  1. Charlieme

    Charlieme Member

    Joined:
    Jan 6, 2010
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    So when i tray to log in i get this error :(

    Could not connect to the database, see error message below.
    Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

    Here is JPG of this :(
    [​IMG]

    pls help.
     
    #1 Charlieme, Jan 6, 2010
    Last edited: Jan 6, 2010
  2. Charlieme

    Charlieme Member

    Joined:
    Jan 6, 2010
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    any help pls :(
     
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,471
    Likes Received:
    199
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    If you're sure MySQL is up and running, then you might double check those settings in the image to be sure they are correct. If you're not the Administrator of the server you might want to contact your host to ask about your settings to be sure they are right.
     
  4. Charlieme

    Charlieme Member

    Joined:
    Jan 6, 2010
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1

    i check user name and password and all is good :(
     
  5. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,471
    Likes Received:
    199
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    MySQL is up and running? Are you sure your using the correct option for the database in that image?
     
  6. Charlieme

    Charlieme Member

    Joined:
    Jan 6, 2010
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    one what you mean when you say that i cant understand you ?
     
  7. Charlieme

    Charlieme Member

    Joined:
    Jan 6, 2010
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
  8. Charlieme

    Charlieme Member

    Joined:
    Jan 6, 2010
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    eny help pls. enyone.
     
  9. JanH

    JanH Member

    Joined:
    Dec 17, 2009
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Are you sure it is a local MySQL server?
    Maybe you should connect to a dedicated remote database server?


    Best regards
    Jan
     
  10. Charlieme

    Charlieme Member

    Joined:
    Jan 6, 2010
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    how you mean local i buy today host and address add i use that you tube link
    to make forum all go good and then that error. :(
     
  11. Charlieme

    Charlieme Member

    Joined:
    Jan 6, 2010
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    is there eny help for me.
     
  12. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,471
    Likes Received:
    199
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Your host is the one to be asking for assistance with this sort of thing. They can tell you exactly how the server is setup and the options you should be selecting in the image you've posted above.

    Short of that, what other options are listed in the "database type" setting shown in your image?
     
  13. Charlieme

    Charlieme Member

    Joined:
    Jan 6, 2010
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    problem solved :) with best friend google :)
     
Loading...

Share This Page