Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No mysqld.sock socket!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
rleeuw
n00b
n00b


Joined: 08 Sep 2004
Posts: 1

PostPosted: Mon Sep 13, 2004 7:05 pm    Post subject: No mysqld.sock socket! Reply with quote

Hi,

I emerged mysql and this is the version: mysql-4.0.20-r1.

The next error appears on everything I do to get mysql working.

ERROR 2002: Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2)


I checked the path and the mysqld.sock file does not exist.

Can anyone help me to fix this. Thanks in advance.

Best Regards,

René.
Back to top
View user's profile Send private message
Kirigoe
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jan 2003
Posts: 147
Location: concrete hut, sweden

PostPosted: Tue Sep 14, 2004 7:08 am    Post subject: Reply with quote

the socket seems to be available only when mysql is running (which makes sense). so make sure mysql is started by running:

Code:
/etc/init.d/mysql status


and replace "status" with "start" if it's not.

hope it helps!
~ kiri
_________________
+ adopt an unanswered post today!
+ kimono network monitor
+ downshift.org
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum