Web Hosting Talk







View Full Version : What does it mean ?


roja
12-31-2007, 01:19 AM
Hello.

I am gettint data base error, What foes it mean ? and how can i fix it ?

Error reported: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11)

Thanks

Saeven
12-31-2007, 01:46 AM
Probably that your MySQL socket's actual location, is not in the location defined by your php.ini.

Check your /etc/my.cnf, and make sure that the socket location matches the one in your php.ini (wherever it may be).

Outlaw Web Master
12-31-2007, 01:52 AM
http://www.tech-recipes.com/mysql_tips762.html

may be of some use.

owm

roja
12-31-2007, 05:44 AM
thanks guys