problem with 'mysql.sock' file

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

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

I recompiled it again (make, make install) but still no file 'mysql.sock'

How can i create or get such a file?

Re: problem with 'mysql.sock' file

Quoted text here. Click to load it

See my reply to your posting on comp.databases.mysql.

Quick suggestion for troubleshooting this error:

Bill K.

Re: problem with 'mysql.sock' file

Ben wrote:
Quoted text here. Click to load it

the mysql.sock is created by the server process upon starting. try
starting the server from the 'services' gui utility as opposed to
command line.
good luck

Site Timeline