By Marcoevich on
Hi all,
I have a problem with installing drupal. It works great on my localhost, but on the webserver I constantly get this message: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2).
Anyone know how to solve this?
My login credentials are correct. I can login with phpmyadmin using the same credentials.
Thx in advance!
Marcoevich
Comments
Never mind, I solved the
Never mind, I solved the problem :)
Thanks for nothing ;-)
If you figured out the answer, why not post it? I'm having the exact same problem.
how did you solved this?
how did you solved this?
Try setting the default MySQL
Try setting the default MySQL socket in php.ini to the correct setting. If you don't know what it is, ask your host.
Hey guys what's the secret of
Hey guys what's the secret of life?
Edit: Nevermind, I figured it out.