MySql not getting started

Installing, Configuring, Troubleshooting server daemons such as Web and Mail
gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: MySql not getting started

Post by gerald_clark » 2016/05/12 16:25:11

Get rid of
[mysqld]
service mysqld start
cp /etc/my.cnf /etc/my.cnf.original
echo "" > /etc/my.cnf
Read the docs and add to the default /etc/my.conf only what you need.

midhunv
Posts: 11
Joined: 2016/05/10 14:57:32

Re: MySql not getting started

Post by midhunv » 2016/05/12 16:28:32

So basically no one knows,Thanks a lott for ALL ur H E L P !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

I guess its a mistake i joined this forum ,moreover one person wanted me to paste all resluts so tht he can just resolve t :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: ,
Mr .gerald_clark you are a psychic for sure ,!!!!!!!!!

midhunv
Posts: 11
Joined: 2016/05/10 14:57:32

Re: MySql not getting started

Post by midhunv » 2016/05/12 16:29:45

I didnt post here to read smeone posting ,telling me to read docs ,If u dnt knw ,jus keep quiet,I know there s google and all ,FOOLS!!!!!!!!!!

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: MySql not getting started

Post by gerald_clark » 2016/05/12 16:33:03

No, you don't know how to ask a good question with useful information.
If it still doesn't start, check the logs.

If you think you are entitled to instant answers, you need to buy a RHEL license.
Otherwise don't get pissy with people trying to help you.

midhunv
Posts: 11
Joined: 2016/05/10 14:57:32

Re: MySql not getting started

Post by midhunv » 2016/05/12 16:36:23

Yes ,You are right ,Thats the reason why i opened a thread ,I am not expecting a quick reply r instant ans,bt atleast if u dnt know what to answer pls jus keep mum ,I never PM ed any to reply ,If u dnt know just keep ur mouth shut ,Mr Gerald s a physic for sure

User avatar
TrevorH
Forum Moderator
Posts: 22789
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: MySql not getting started

Post by TrevorH » 2016/05/12 21:35:31

You were already told what the problem is - your config file contains junk lines that need to be removed. Specifically these

Code: Select all

[mysqld]
service mysqld start
cp /etc/my.cnf /etc/my.cnf.original
echo "" > /etc/my.cnf
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply