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!

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:
    51
    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:
    51
    any help pls :(
     
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,242
    Likes Received:
    385
    Trophy Points:
    583
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Charlieme

    Charlieme Member

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

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

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,242
    Likes Received:
    385
    Trophy Points:
    583
    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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Charlieme

    Charlieme Member

    Joined:
    Jan 6, 2010
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    51
    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:
    51
  8. Charlieme

    Charlieme Member

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

    JanH Member

    Joined:
    Dec 17, 2009
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    51
    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:
    51
    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:
    51
    is there eny help for me.
     
  12. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,242
    Likes Received:
    385
    Trophy Points:
    583
    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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. Charlieme

    Charlieme Member

    Joined:
    Jan 6, 2010
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    51
    problem solved :) with best friend google :)
     
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