LinuxQuestions.org
Help answer threads with 0 replies.
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 11-29-2004, 11:04 PM   #1
Philter
LQ Newbie
 
Registered: Nov 2004
Distribution: Slackware 10.0 and Gentoo
Posts: 10

Rep: Reputation: 0
Problems with MySQL in Slack 10


I've been searching around the forums for help with my problem but all of the solutions I've found haven't been of any use to me. I know that Slackware comes with a default installation of MySQL but I downloaded the binary and installed a newer version. My problem is when I go try to start mysql I get the error

ERROR 2002: Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)

I've looked around the forums and most people seem to say that usually means that the privileges aren't right on the data and the /var/run/mysql/mysql.sock files. But I've tried the chmod on those and it still doesnt' work. Also when I went into the /var/run directory there was nothing there.

Another question I have is that in my /usr/local/mysql if I try a cd mysql I get this error, which I have no idea how to fix.

bash: cd: mysql: Too many levels of symbolic links

I assume that I somehow managed to make too many links to it, but how can I fix that?

Any help would be greatly appreciated.
 
Old 11-29-2004, 11:10 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 256Reputation: 256Reputation: 256
Well first of all, remove the old installation.

cd /var/log/packages

removepkg mysql-<your-version-number>

And secondly, download the updated Slackware packages which work best on a Slackware system and compiled for it, the binaries from mysql never seem to work all so well with Slackware.

A good place to get Slackware updated packages is at ftp://ftp.kpn.be or www.linuxpackages.net
 
Old 12-31-2004, 08:13 AM   #3
perry
Member
 
Registered: Sep 2003
Location: USA & Canada
Distribution: Slackware 12.0
Posts: 978

Rep: Reputation: 30
this site is simply amazing. i have not been on in a few months and came across a problem recently where i really needed help. you guessed it, with slackware and mysql... no sooner do i type in the words "mysql slackware connect" and this very thread comes up and the problem is identical... and so is the solution to be quickly found....

while i should know mysql inside-out, as it is just another relational database, they are not all the same and my interview on monday is contingent on my background with of all things; mysql, dhtml and javascript... basic stuff but a brush up and running applications in all areas would go over pretty big.... so... where do i turn for help...

thanks for your contribution trickykid, your few minutes of typing goes along way to getting many people gainfully re-employed....

happy new year

- perry
 
Old 12-31-2004, 08:15 AM   #4
bruj3w
Member
 
Registered: Mar 2004
Location: england
Distribution: slackware
Posts: 164

Rep: Reputation: 30
i had a similar problem and this thread didnt exist. anyway, i ended up solving it but i cant remember for the life of me what i did to solve it
 
  


Reply


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
Problems with MySQL on SuSE: Can't Connect (/var/lib/mysql/mysql.sock) neocookie Linux - Software 8 02-07-2008 11:48 PM
Starting mysql in slack 10 kmoffat Slackware 1 07-11-2004 04:07 AM
mysql logs on a slack dominant Slackware 6 06-21-2004 02:02 AM
status of MySQL on slack 8.1 Csneeky Slackware 6 05-23-2003 03:28 AM
mysql N slack 9 huno Slackware 1 04-26-2003 11:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:57 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
Open Source Consulting | Domain Registration