Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 12-09-2009, 01:02 AM   #1
LQ Newbie
Registered: Dec 2009
Location: Maine
Distribution: Slackware
Posts: 3

Rep: Reputation: 0
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.
Old 12-09-2009, 02:30 AM   #2
Slackware Contributor
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 229Reputation: 229Reputation: 229
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.
Old 12-09-2009, 05:33 AM   #3
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 417

Rep: Reputation: 32
I had the same error and i solve it by doing this from start :
Old 12-09-2009, 11:45 AM   #4
LQ Newbie
Registered: Dec 2009
Location: Maine
Distribution: Slackware
Posts: 3

Original Poster
Rep: Reputation: 0
thank you both for your help. It is working now.


error, help, mysql, slackware

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
error in starting mysql daemon after installation possimpible Linux - Software 6 09-10-2009 02:08 AM
MySQL Error When Starting carlosinfl Linux - Server 1 06-30-2009 05:28 PM
Starting MySQL OLD Error : imeout error occurred trying to start MySQL Daemon Fr33B5D Linux - Software 9 10-28-2006 07:23 AM
Mysql error starting nepcw Linux - Software 2 03-25-2004 10:55 AM
Error when starting mysql peppie Slackware - Installation 6 03-03-2004 10:57 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:05 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration