LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-25-2004, 08:44 AM   #1
nepcw
Member
 
Registered: Mar 2004
Posts: 81

Rep: Reputation: 15
Mysql error starting


I have just install RH9 and i included Mysql in that install.
I log on as root and run mysql and i get :
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

I have done almost everything i can find about this and i cannot figure it out.
i cant find the mysql.sock file
I checked the version of mysql and i get :

[root@localhost /]# mysql --version
mysql Ver 11.18 Distrib 3.23.58, for redhat-linux-gnu (i386)

How can i tell if it is running? i tried service mysqld status and that gave me a error
mysqld: unrecognized service , i dont know if this is thr right command
I run a mysqladmin and get the same error 2002.
Any ideas?
 
Old 03-25-2004, 09:29 AM   #2
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 51
the server isnt running, thats why the client cant connect. knowing nothing about red hat i cant tell you how to start it but this guy looks like he has the answer

Last edited by kev82; 03-25-2004 at 09:30 AM.
 
Old 03-25-2004, 09:55 AM   #3
nepcw
Member
 
Registered: Mar 2004
Posts: 81

Original Poster
Rep: Reputation: 15
thanks, i thought it wasnt running but i wasnt sure how to start it. no service to start nothing i could find. i will check that link out thank you!
 
  


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 when starting mysql peppie Slackware - Installation 6 03-03-2004 09:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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