Two things to check:

1.  Ensure the mysql server is running.  mysql.sock is automatically created when the 
server is started.

2.  If you still get the error, it may be in another subdirectory, usually 
var/lib/mysql.  Once you locate mysql.sock, 
modify the my.cnf file to point to the correct location.

Regards,
Doug

On 13 Mar 2002 06:04:58 -0000, nagendra  prasad wrote:

>hi ,i got this error 3 -4 times ,then i reinstalled
>mysql & the it used to work properly.
>Once i come baack to office the next day & run the page
>again,it gives the same error again.
>the error is
>__________________________________________________________
>an error "can't connect to MYSQL server through socket
>/tmp/mysql.sock"
>__________________________________________________________
>
>but when i go to the /tmp & search for this socket
>mysql.sock i donh't find it there.
>i don't understand what the probs is.
>plz help me.i'm badly struck.
>tnx
>prasad




---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to