Neville,
Monday, June 03, 2002, 1:44:25 PM, you wrote:

NL> This is the error message that I get
NL> ------------------------------------
NL> Can't connect to local MySQL server through socket
NL> '/var/lib/mysql/mysql.sock' (2)
NL> ------------------------------------

NL> Could ayone please show me how to sort this out
NL> I had MySQL running before this. This has happened
NL> all of a sudden. 

perror 2
Error code   2:  No such file or directory

If you MySQL server is running, it may happen because 
1. you don't have permissions on that file/dir
2. your socket file is located in other place - check where 
mysql.sock is located and specify path to the socket with --socket
option.
3. Somebody deleted socket file.




-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
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

Reply via email to