LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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-2005, 02:25 PM   #1
faris10
Member
 
Registered: Nov 2005
Location: High Point,NC
Distribution: SUSE 10.1
Posts: 89

Rep: Reputation: 15
MYSQL Error


I'm trying to start the MYSQL server I get the next error
Error 2002 Can't connect to local mysql server through '/var/run/mysql/mysql.sock'(111)
Any help ?
 
Old 12-09-2005, 02:39 PM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Did you follow the instructions in /etc/rc.d/rc.mysqld ?
 
Old 12-09-2005, 04:33 PM   #3
faris10
Member
 
Registered: Nov 2005
Location: High Point,NC
Distribution: SUSE 10.1
Posts: 89

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by keefaz
Did you follow the instructions in /etc/rc.d/rc.mysqld ?
I did exactly what in rc.mysql
when I make su - mysql
it says operation not permitted.
 
Old 12-09-2005, 05:03 PM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
That's just a warning, once you type su - mysql and see operation no permitted, take a look at the prompt, it should say mysql@host:~$ that means you're now the mysql user, as that user, you've to run the other commands stated on rc.mysqld. Once you do that, type exit to go back to root.
If you ran the commands as root instead of mysql, there's a easy way to fix it, it's also explained in rc.mysqld.
 
  


Reply



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 02:13 PM
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. suziecorbett Linux - Software 8 10-09-2008 01:52 AM
Starting MySQL OLD Error : imeout error occurred trying to start MySQL Daemon Fr33B5D Linux - Software 9 10-28-2006 06:23 AM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM
Error compiling perl-DBD-MySQL after upgrading to MySQL 4.1 pitaro920 Linux - Software 1 01-16-2006 04:28 PM

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

All times are GMT -5. The time now is 05:33 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