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

Charlieme

Member
Jan 6, 2010
9
0
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 :(


pls help.
 
Last edited:

Infopro

Well-Known Member
May 20, 2003
17,113
511
613
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.
 

Charlieme

Member
Jan 6, 2010
9
0
51
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.

i check user name and password and all is good :(
 

JanH

Member
Dec 17, 2009
7
0
51
Are you sure it is a local MySQL server?
Maybe you should connect to a dedicated remote database server?


Best regards
Jan
 

Charlieme

Member
Jan 6, 2010
9
0
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. :(
 

Infopro

Well-Known Member
May 20, 2003
17,113
511
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
is there eny help for me.
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?