[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] mysql.sock



Katt wrote:

> Does anyone know how to get this file back WITHOUT reinstalling the
whole
> thing? I would be afraid of reinstalling as we have programs that are
> using the current installation, one of them being PHP.

Just stop and then start MySQL again :)
That file is the UNIX socket that the mysql client (and PHP, Perl et al)
need to communicate internally with the MySQL server. It gets generated
at runtime.

Check you haven't got a cronjob called tmpwatch: it often clears
mysql.sock if it's in /tmp

HTH

Graeme