List:General Discussion« Previous MessageNext Message »
From:Ryan Stille Date:March 3 2006 9:32pm
Subject:RE: Deleted sock file, how can I recover
View as plain text  
Shut it down with mysqladmin, from another machine using the -h (host)
option.  

When you are using the CLI locally it connects through the socket, but
if you do it from another machine it will use TCP, getting around the
need for the missing socket file.

You may also be able to connect via TCP from the local machine,
depending on what address you use to connect to. (local IP, local host,
actual hostname, etc).  

-Ryan


Scott Haneda wrote:
> ERROR 2002: Can't connect to local MySQL server through
> socket '/tmp/mysql.sock'
> 
> I accidentally deleted the above file, I can not connect any
> new connections in the CLI, old stuff seems to still be ok.
> 
> I can not seem to shut down the server, as that file is needed.
> 
> Any way I can recreate it, and what do I put in it?
> 
> I can force kill the server and I am guessing it would all
> come back up ok, but there must be a gentler way?
> --
> -------------------------------------------------------------
> Scott Haneda                                Tel: 415.898.2602
> <http://www.newgeo.com>                     Novato, CA U.S.A.


Thread
Deleted sock file, how can I recoverScott Haneda3 Mar
RE: Deleted sock file, how can I recoverRyan Stille3 Mar
  • Movable Type + OSXServer + MySQL issues.m i l e s3 Mar
  • Re: Movable Type + OSXServer + MySQL issues.George Law5 Mar
RE: Movable Type + OSXServer + MySQL issues.SST - Adelaide)3 Mar