Re: always this happenes to me

2002-03-13 Thread Doug Thompson

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 -, 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




always this happenes to me

2002-03-13 Thread Victoria Reznichenko

nagendra,
Wednesday, March 13, 2002, 8:04:58 AM, you wrote:

np hi ,i got this error 3 -4 times ,then i reinstalled
np mysql  the it used to work properly.
np Once i come baack to office the next day  run the page
np again,it gives the same error again.
np the error is
np __
np an error can't connect to MYSQL server through socket
np /tmp/mysql.sock
np __

np but when i go to the /tmp  search for this socket
np mysql.sock i donh't find it there.

File mysql.sock is created when MySQL server is running.
Is your MySQL server running?

Check your privileges on the socket file and on the dir that contains socket file.
You can find the description of this error at:
http://www.mysql.com/doc/C/a/Can_not_connect_to_server.html

np i don't understand what the probs is.
np plz help me.i'm badly struck.
np tnx
np prasad




-- 
For technical support contracts, goto https://order.mysql.com/
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /Victoria Reznichenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
   ___/   www.mysql.com




-
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




always this happenes to me

2002-03-12 Thread nagendra prasad

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




Re: always this happenes to me

2002-03-12 Thread B. van Ouwerkerk


an error can't connect to MYSQL server through socket
/tmp/mysql.sock

This is a FAQ.

Searching through the archive will get you somewhere around a zillion hits.

Get through the filter: mysql, sql, query

Bye,



B.


-
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