List:General Discussion« Previous MessageNext Message »
From:Sasha Pachev Date:August 22 1999 3:21pm
Subject:Re: Error : 2002
View as plain text  
Dick Griffin wrote:
> 
> Ahhh, but it really is, according to 'top' and netstat
> -rn
> 
> The server is running,
> 
> Are you suggesting that maby /tmp/mysql.sock is the
> issure?
> 
> It is running, on port 3306
> 
> On Fri, 20 Aug 1999, Darrell Shifflett wrote:
> 
> >>>
> >>>  On Fri, 20 Aug 1999, Dick Griffin wrote:
> >>>
> >>>  >  The dreaded ERROR 2002
> >>>  >
> >>>  > surely someone knows what that means?
> >>>  >
> >>>  > MySQL was installed and worked well, till I rebooted,
> >>>  > and now when I try to use Mysql the following occurs
> >>>  >
> >>>  > $ mysql -u dick -p
> >>>  > Enter password: (which I do)
> >>>  > ERROR 2002 Can't connect to local MySQL server through
> >>>  > socket '/tmp/mysql.sock' (2)
> >>>
> >>>  Your server isnt running ....
> >>>
> >>>
> 
> Dick Griffin
> At Home
> 

The server may be running, but it may not be accepting connections on
/tmp/mysql.sock for several reasons:

 - it is accepting them on some other file
 - it is using only TCP/IP
 - it has entered into an inconsistent state, and altough running, is
not accepting connections



-- 
Sasha Pachev
http://www.sashanet.com
Thread
Error : 2002Dick Griffin20 Aug
  • Re: Error : 2002Darrell Shifflett21 Aug
    • Re: Error : 2002Dick Griffin21 Aug
      • Re: Error : 2002Sasha Pachev22 Aug
    • Re: the dreaded Error : 2002Dick Griffin21 Aug
    • Re: Error : 2002Dick Griffin30 Aug
      • Re: Error : 2002Jani Tolonen31 Aug