470,811 Members | 1,211 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,811 developers. It's quick & easy.

problem with 'mysql.sock' file

Ben
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


Dec 26 '05 #1
2 2944
"Ben" <qsvqs@qsdcsqd> wrote in message
news:jp********************@scarlet.biz...
But when i want to start the client: mysql, i get :error 2002: cannot
connect to mysql server through 'tmp/mysql.sock'.


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

Quick suggestion for troubleshooting this error:
http://dev.mysql.com/doc/refman/5.0/...to-server.html

Regards,
Bill K.
Dec 26 '05 #2
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


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
Feb 7 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Oliver Etzel - GoodnGo.COM | last post: by
reply views Thread by Oliver Etzel - GoodnGo.COM | last post: by
reply views Thread by Oliver Etzel - GoodnGo.COM | last post: by
reply views Thread by System | last post: by
4 posts views Thread by Manzoorul Hassan | last post: by
2 posts views Thread by balavignesh | last post: by
1 post views Thread by Robi400 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.