LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Error starting mysql (http://www.linuxquestions.org/questions/slackware-14/error-starting-mysql-774393/)

alex2010 12-09-2009 12: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:
Quote:

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 01: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.
http://www.linuxquestions.org/questi...99#post3408899

netpumber 12-09-2009 04:33 AM

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

http://www.basicconfig.com/linuxserv...ysql_slackware

alex2010 12-09-2009 10:45 AM

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


All times are GMT -5. The time now is 12:40 PM.