LinuxQuestions.org
Review your favorite Linux distribution.
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 08-14-2004, 07:27 AM   #1
kernelvn
Member
 
Registered: Aug 2004
Posts: 91

Rep: Reputation: 15
Error in installing MySQL on Slackware linux


I use Slackware 10 , kernel 2.6.7 and now I going to install MySQL from CD1

Quote:
root@SlackOnLaptop:~# installpkg mysql-4.0.20-i486-1.tgz
Installing package mysql-4.0.20-i486-1...
PACKAGE DESCRIPTION:
mysql: mysql (SQL-based relational database server)
mysql:
mysql: MySQL is a fast, multi-threaded, multi-user, and robust SQL
mysql: (Structured Query Language) database server. It comes with a nice API
mysql: which makes it easy to integrate into other applications.
mysql:
mysql: The home page for MySQL is mysql.com
mysql:
Executing install script for mysql-4.0.20-i486-1...
Quote:
root@SlackOnLaptop:/etc/rc.d# sh rc.mysqld start
root@SlackOnLaptop:/etc/rc.d# Starting mysqld daemon with databases from /var/lib/mysql
040814 17:59:51 mysqld ended
Quote:
root@SlackOnLaptop:/etc/X11# mysqladmin version
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!

How should I do ?
 
Old 08-14-2004, 07:46 AM   #2
Mephisto
Member
 
Registered: Oct 2002
Location: Washington D.C, USA
Distribution: Slack 12, Etch, Gutsy
Posts: 453

Rep: Reputation: 30
Re: Error in installing MySQL on Slackware linux

Quote:
Originally posted by kernelvn
I use Slackware 10 , kernel 2.6.7 and now I going to install MySQL from CD1
How should I do ?
I did a search on the Slackware forum for MySQL and here is what I came up with. These threads should help you out:

http://www.linuxquestions.org/questi...ighlight=MySQL

http://www.linuxquestions.org/questi...ighlight=MySQL

http://www.linuxquestions.org/questi...ighlight=MySQL

http://www.linuxquestions.org/questi...ighlight=MySQL

http://www.unixfool.com/mysql-slack.shtml

If, after having read and tried what is on these threads you still can not get it working let us know.

The short answer is you still have some prep work to do. There are instructions in the rc.mysqld init script.

EDIT: Changed wording because I replied before I had my morning coffee. (Six edits later I have managed to be civil and have ALMOST no typos.)

Last edited by Mephisto; 08-14-2004 at 08:05 AM.
 
  


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
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. NoviceW Linux - Networking 17 09-17-2014 03:13 PM
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. suziecorbett Linux - Software 8 10-09-2008 02:52 AM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 09:44 AM
error installing mysql 4.0.23 lass Debian 0 01-13-2005 08:30 PM
I am getting an Error 2002 when installing Mysql blanderson Linux - Newbie 0 10-16-2003 01:11 PM


All times are GMT -5. The time now is 02:33 PM.

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