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

Re: [cobalt-users] mysql.sock



uhm.. i had the same problem, mysql said he could find /var/lib/mysql/mysql.sock.. but mysqld writes the mysql.sock to /tmp... so the sollution could be:
mkdir /var/lib/mysql
ln -s /tmp/mysql.sock /var/lib/mysql/mysql.sock

that worked for me.. or you can recompile mysql with the option:
./configure --prefix=/usr/local/mysql --with-unix-socket-path=/tmp/mysql.sock

At 10:07 27-10-00 +0100, you wrote:
Here's a good one -

We are sure that someone deleted our mysql.sock yesterday ...
When we type mysql at the prompt, it says to make sure the mysql.sock exists. It has been there all along until yesterday...

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.

Any ideas?

-Kathleen