LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 12-09-2009, 01:02 AM   #1
alex2010
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:
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.
 
Old 12-09-2009, 02:30 AM   #2
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

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

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

http://www.basicconfig.com/linuxserv...ysql_slackware
 
Old 12-09-2009, 11:45 AM   #4
alex2010
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.
 
  


Reply

Tags
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


All times are GMT -5. The time now is 03:20 AM.

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