-   Slackware (
-   -   Error starting mysql (

alex2010 12-09-2009 01:02 AM

Error starting mysql
During the slackware 13 install i selected to install mysql. But after starting it up, going into the terminal and typing mysql -u username -pPassword it gives me the following error:

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)
I have tried reinstalling mysql and even reinstalling slack, but i still get the same error. Any help is much appreciated.

mRgOBLIN 12-09-2009 02:30 AM

It's because the server isn't actually running.

There are many threads already describing how to set up mysql.

Follow the instructions in this post and you should be well on your way.

netpumber 12-09-2009 05:33 AM

I had the same error and i solve it by doing this from start :

alex2010 12-09-2009 11:45 AM

thank you both for your help. It is working now.

All times are GMT -5. The time now is 02:43 AM.