LinuxQuestions.org
Review your favorite Linux distribution.
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 05-18-2009, 06:41 AM   #1
rehan21
Member
 
Registered: May 2009
Location: Karachi, Pakistan
Distribution: Centos 5.1/Fedora 10/ubuntu
Posts: 41

Rep: Reputation: 15
mysql problem


Hi All,

I have been struggling to get the MySql started from past two days. Need to fix it asap. I have found the followin error.

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

and if try "service start mysql" i get:

Starting MySQL.Manager of pid-file quit without updating fi[FAILED]

can somebody please help me with this one??? I cant afford any more time over this.

Regards,
Rehan
 
Old 05-18-2009, 07:20 AM   #2
rehan21
Member
 
Registered: May 2009
Location: Karachi, Pakistan
Distribution: Centos 5.1/Fedora 10/ubuntu
Posts: 41

Original Poster
Rep: Reputation: 15
hello,
any body here to help me ?
i m waqiting................
 
Old 05-18-2009, 07:24 AM   #3
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
What do you get when you start it by

/etc/init.d/mysqld start

And why are you bumping your own thread in time span of less than one hour? you are not paying anyone here to help you out. Members will help you when they have time out of their work.
 
Old 05-18-2009, 07:49 AM   #4
rehan21
Member
 
Registered: May 2009
Location: Karachi, Pakistan
Distribution: Centos 5.1/Fedora 10/ubuntu
Posts: 41

Original Poster
Rep: Reputation: 15
hello Mr.

What is ur problem ?
I m not asking u to help me.
Mind ur own business
 
Old 05-18-2009, 07:53 AM   #5
rehan21
Member
 
Registered: May 2009
Location: Karachi, Pakistan
Distribution: Centos 5.1/Fedora 10/ubuntu
Posts: 41

Original Poster
Rep: Reputation: 15
Hello Moderator

what is going on here.ur senior member is insulting me.
this is not the way to talking any one.This is ur responsibility that make sure that no one is insulting ohters.
please be care full in the future.

Regard,
Rehan
 
Old 05-18-2009, 08:12 AM   #6
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Rehan, nobody's insulting anyone. You bumped your thread after 40 minutes, which is a bit rude, to be honest. As was your reply to linuxlover. Appealing to the mods isn't going to do you a lot of favors either.

Anyway, take a look at the mysql logs:
/var/log/mysqld.log
and see if there's anything obviously wrong. It's usually pretty helpful.

Dave
 
Old 05-18-2009, 08:27 AM   #7
rehan21
Member
 
Registered: May 2009
Location: Karachi, Pakistan
Distribution: Centos 5.1/Fedora 10/ubuntu
Posts: 41

Original Poster
Rep: Reputation: 15
Hello ilikejam

Sorry for rude reply i m bit angry the way linux lover talking to me
but u r also reply me and i think this is right way talking to any one
thanx 4 the help

Regards,
Rehan
 
Old 05-18-2009, 08:35 AM   #8
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,087

Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
Where are you from Rehan?
Just curious is all.
Remember that more is gained with Honey than Vinegar.
You will find this is the best forum for Linux and other stuff.
What distro are you running and your setup?
 
Old 05-18-2009, 08:38 AM   #9
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Quote:
Originally Posted by rehan21 View Post
hello Mr.

What is ur problem ?
I m not asking u to help me.
Mind ur own business
Why are you here if you do not want any help? And this is likely to be called rude by most of the members here if you bump your own thread within less than hour of posting. All the members here are volunteers and take time out of their schedules to help others. Do not ask force anyone to reply to your posts without much information.
I asked you to execute the command and post the output. That is what informational is. You were running wrong command.

service start mysql is what you were executing while it should be service mysqld start

Last edited by linuxlover.chaitanya; 05-18-2009 at 08:39 AM.
 
Old 05-18-2009, 08:42 AM   #10
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by rehan21 View Post
Hello Moderator

what is going on here.ur senior member is insulting me.
this is not the way to talking any one.This is ur responsibility that make sure that no one is insulting ohters.
please be care full in the future.

Regard,
Rehan
NO---YOU be careful.

First, no one insulted you. The admonition about bumping was correct and came only after he gave you some useful info.

Please tone it down and be patient.

Also please use complete words: you, your, you are, thanks, for

Last edited by pixellany; 05-18-2009 at 08:45 AM.
 
Old 05-18-2009, 09:05 AM   #11
rehan21
Member
 
Registered: May 2009
Location: Karachi, Pakistan
Distribution: Centos 5.1/Fedora 10/ubuntu
Posts: 41

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by linuxlover.chaitanya View Post
Why are you here if you do not want any help? And this is likely to be called rude by most of the members here if you bump your own thread within less than hour of posting. All the members here are volunteers and take time out of their schedules to help others. Do not ask force anyone to reply to your posts without much information.
I asked you to execute the command and post the output. That is what informational is. You were running wrong command.

service start mysql is what you were executing while it should be service mysqld start
i m writing in simple language that i dont want help from u
and by the way i have already tried the command but its not working.

ok my mistake i dont know that i have to wait 30 minutes but u r also using very harsh language and i m not force any one to answer me.I m writing that i want help. I think u easily understand the meaning of help
 
Old 05-18-2009, 11:55 AM   #12
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,275

Rep: Reputation: 148Reputation: 148
If you behave in such a way no one can help you and you cant force anyone because you are not paying, peoples are helping on their free time, however check your datadir whether it is existing with default database, if not try to install_db once again
 
Old 05-18-2009, 03:49 PM   #13
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
rehan21;

Second warning: Stop complaining about people that are trying to help you.

Your next post needs to be on the technical subject---nothing else.
 
  


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
Bugzilla - MySQL - perl - DBD::mysql install problem amchargue Linux - Software 3 09-10-2008 01:01 AM
Problem Starting MySQL on Fresh Fedora 8 Install w/ Yum'd MySQL blong4life Linux - Server 2 07-04-2008 08:44 PM
Bugzilla - MySQL - perl - DBD::mysql install problem Runningonair Linux - Software 8 10-12-2007 01:42 AM
php-mysql dependancy problem after nitemare mysql upgrade. RHEL4 andrewc Red Hat 1 01-03-2006 05:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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