Hello Frnds,
From past few days I am getting this error when I am trying to connect to my webpage.
Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/xxxxx/public_html/login.php on line 10
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
I don't know why it happens. Though it do connect at times properly but at times it sucks with the above error.
Hoping for your kind help.


LinkBack URL
About LinkBacks
Reply With Quote


