Answer the question
In order to leave comments, you need to log in
Mysql error on hosting?
Hello. I have a site in php, it lies on the hosting, when I go to the site it writes an error
CDbConnection failed to open the DB connection: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
what to do in this case, and why?
Answer the question
In order to leave comments, you need to log in
stackoverflow.com/questions/10720018/cant-connect-...
Maybe the database is on the wrong server?
write to the technical support of the hoster of course, why the heck is it on the toaster then write
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question