[Ilugc] Re:Problem in connectin to MySQL using PHP
- From: kbalavignesh@xxxxxxxxx (Bala Vignesh)
- Date: Tue Aug 16 18:23:50 2005
DIGIVIND <digivind@xxxxxxxxxxxxxx> wrote :
Why do u i get this error :
Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (13)
How can v solve this error ...
Check where the mysql.sock exist....(in ur system it might be /tmp/mysql.sock)
Then In /etc/my.cnf
change the socket path to /tmp/mysql.sock
then restart the mysqld server....
bye
bala
Other related posts: