List:General Discussion« Previous MessageNext Message »
From:Sasha Pachev Date:July 6 1999 9:37pm
Subject:Re: ERROR 2002: Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (111)
View as plain text  
Cory Hubert wrote:
> 
>         One last problem.  I thought this was connected to my Found 170 error message
> in the make install, but I guess not.
> 
>         I checked to see if the mysqld is running and it is.   But when I try to run
> mysql I get:
> 
> ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock'
> (111)
> 
>         When I go to the /tmp/ directory mysql.sock isn't there.  Any Ideas?
> 

Your mysqld is not compiled with Unix socket support, or is told not to
use them. To connect to your current server, force tcp/ip:

mysql -h `hostname` 

-- 
Sasha Pachev
http://www.sashanet.com/ (home)
http://www.direct1.com/ (work)
Thread
ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)Cory Hubert6 Jul
  • Re: ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)Sasha Pachev7 Jul