Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-04-2004, 02:37 PM   #1
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, 02:42 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

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

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

Original Poster
Rep: Reputation: 15
Thanks, I got it, it was not properly Installed!!!
Old 02-07-2004, 08:52 PM   #4
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, 12:40 AM   #5
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.


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 06:23 AM
mysql doesn't start devit Linux - General 12 05-21-2004 03:24 PM
MySql error 2002, Cannot start mysql djchris Linux - Software 5 04-13-2004 06:12 PM
Cannot start MySQL cisco_kidd20 Linux - Software 13 03-25-2004 10:04 AM
I can't get MySQL to start. Travis86 Linux - Software 5 11-07-2003 11:58 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:32 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration