View previous topic :: View next topic |
Author |
Message |
rleeuw n00b


Joined: 08 Sep 2004 Posts: 1
|
Posted: Mon Sep 13, 2004 7:05 pm Post subject: No mysqld.sock socket! |
|
|
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 |
|
 |
Kirigoe Tux's lil' helper


Joined: 10 Jan 2003 Posts: 147 Location: concrete hut, sweden
|
Posted: Tue Sep 14, 2004 7:08 am Post subject: |
|
|
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 |
|
 |
|