Re: problem with mysql.sock Ben wrote:
> Hi,
>
> I installed mysql 5.0 on redhat 9.0 from source (tar).
> The whole procedure occured properly, i could do ./mysqld_safe.
> But when i want to start the client: mysql, i get :error 2002: cannot
> connect to mysql server through 'tmp/mysql.sock'.
>
> I set /tmp with the sticky bit, because otherwise file 'mysql.sock' woukd be
> deleted !?.
> I also created 'my.cnp into /etc, but my problem is that there is no file
> 'mysql.sock'.
>
> I recompiled it again (make, make install) but still no file 'mysql.sock'
> anywhere.
>
> How can i create or get such a file?
> Thanks
> ben
>
>
>
I am not sure, but would setting the sticky bit not prevent mysqld from
creating a new socket every time it is started ? I don't see the reason
for the stick bit here. And I noticed you talk about /tmp and the error
speaks of tmp. Could that be tmp relative to the mysql path perhaps ???
Rgds
Sh |