MySQL Forums
Forum List  »  Install & Repo

Re: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Posted by: Lukas Ziegler
Date: January 28, 2005 10:29AM

I have the exact same problem. I'm using Debian and i tried installing MySQL via apt-get
I entered 'apt-get install mysql-server' and it downloaded the file from the debian website. So it should be one of the newest and stable version.

Here's what it echo'd out to me at the end of installation:

.....
Setting up libdbd-mysql-perl (2.9003-3) ...
Setting up libmysqlclient12 (4.0.23-1) ...

Setting up mysql-client (4.0.23-1) ...
Setting up mysql-server (3.23.49-8.9) ...
Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld...failed.

and when i try connecting to mysql it gives me exactly that error message
ERROR 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

Does anyone know how to solve this problem?

P.S. more info at http://sv3.3dbuzz.com/vbforum/showthread.php?s=&threadid=98911

Thanks

onlinehtmlbook

Options: ReplyQuote


Subject
Written By
Posted
Re: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
January 28, 2005 10:29AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.