LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-04-2004, 03:37 PM   #1
AskMe
Member
 
Registered: Jul 2003
Posts: 123

Rep: Reputation: 15
Cannot start MySQL...


I installed MySql and apache on my my Red Hat 9.0, from Red Hat CD, through Add/Remove Applications(Package Management) which comes under KDE 3.1, the problem is that Apache is running fine, but when I type MySql or mysql at terminal windows to start MySql I get following error:
********************************************************************************************
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
***********************************************************************************************
I have logged in as a user on my system not as root. Please help me, I am new user of LINUX.
 
Old 02-04-2004, 03:42 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
mysql has to be running before you try to connect to it? Is it running?

Output of ps -aux please?
 
Old 02-04-2004, 04:06 PM   #3
AskMe
Member
 
Registered: Jul 2003
Posts: 123

Original Poster
Rep: Reputation: 15
Thanks, I got it, it was not properly Installed!!!
 
Old 02-07-2004, 09:52 PM   #4
bmcneil2k
LQ Newbie
 
Registered: Feb 2004
Posts: 16

Rep: Reputation: 0
So what was the fix, I still tring to get my system configured , Explain what was your fix
 
Old 02-08-2004, 01:40 AM   #5
AskMe
Member
 
Registered: Jul 2003
Posts: 123

Original Poster
Rep: Reputation: 15
It was not Installed and Service was not started

The MySql was not Installed properly, that is the reason, I again Installed MySql from CD, and then went to service manager where I saw MySql and started the service, then I found that MySql is running fine. I have yet to Install PHP.
 
  


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
Starting MySQL OLD Error : imeout error occurred trying to start MySQL Daemon Fr33B5D Linux - Software 9 10-28-2006 07:23 AM
mysql doesn't start devit Linux - General 12 05-21-2004 04:24 PM
MySql error 2002, Cannot start mysql djchris Linux - Software 5 04-13-2004 07:12 PM
Cannot start MySQL cisco_kidd20 Linux - Software 13 03-25-2004 11:04 AM
I can't get MySQL to start. Travis86 Linux - Software 5 11-07-2003 12:58 PM


All times are GMT -5. The time now is 07:10 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration