You are not logged in.

#1 2009-01-26 03:37:34

2k
Member
From: UK
Registered: 2006-02-17
Posts: 76

[solved] MySQL fails to start on boot

Hi there,

I have installed Apache, php and mysql according to the wiki and everything seemed to go fine, I added httpd and mysqld to the daemons section of rc.conf and whilst Apache loads up fine mysql fails everytime.

Once the system has loaded if I run the following
# /etc/rc.d/mysqld stop
# /etc/rc.d/mysqld start

It starts up and appears to work fine, but i would prefer it to start at boot.

Does anyone know what might be causing this? I have searched the forums and it doesn't seem to be a problem that anyone else has had sad

thanks for any help that can be offered
Mike

Last edited by 2k (2009-01-26 17:26:25)

Offline

#2 2009-01-26 03:55:32

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: [solved] MySQL fails to start on boot

Have you tried putting mysqld later in you DAEMONS array?  Or not backgrounding daemons?  I'm guessing something has not finished loading before you try starting mysql during bootup.

Offline

#3 2009-01-26 04:05:02

2k
Member
From: UK
Registered: 2006-02-17
Posts: 76

Re: [solved] MySQL fails to start on boot

Hi there,

No matter where i put it in the Daemons it always fails on boot, I have tried it as the first and last in rc.conf

Offline

#4 2009-01-26 05:46:10

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: [solved] MySQL fails to start on boot

Offline

#5 2009-01-26 14:52:32

2k
Member
From: UK
Registered: 2006-02-17
Posts: 76

Re: [solved] MySQL fails to start on boot

Thanks for your replies,

It now works after re-installing mysql, as you correctly identified it was a bug (that appears to have now been fixed) apologies for wasting your time, I assumed that it was something that I was doing wrong, or had failed to do.

Thank you for your help
Mike

Offline

#6 2009-03-01 08:39:11

The Unabeefer
Member
From: Chicago, IL
Registered: 2009-01-30
Posts: 37
Website

Re: [solved] MySQL fails to start on boot

I have this same problem. ver 5.0.77-1 (on x86_64)   I reinstall and everything is fine UNTIL I have a database set up (one i need for work) ......  after that, it fails on first run again, making me have to stop and start it after every boot.  Anyone have any ideas on how I can fix this?!  It only started when the package upgraded to the one mentioned above.


I am a flying cow. Worship me, or DIE!!!

...and there he was, reigning supreme at number two
The One... The Only... The Unabeefer.

Offline

#7 2009-03-08 14:35:15

xcession
Member
From: Udon Thani, Thailand
Registered: 2008-05-07
Posts: 72
Website

Re: [solved] MySQL fails to start on boot

I have this problem too...
and wempy's solution doesn't seem to work... sad

Offline

#8 2009-03-09 23:12:51

The Unabeefer
Member
From: Chicago, IL
Registered: 2009-01-30
Posts: 37
Website

Re: [solved] MySQL fails to start on boot

xcession wrote:

I have this problem too...
and wempy's solution doesn't seem to work... sad

Didn't work for me either.  I've tried a few different "solutions" and none of them worked,


I am a flying cow. Worship me, or DIE!!!

...and there he was, reigning supreme at number two
The One... The Only... The Unabeefer.

Offline

#9 2009-03-10 06:05:45

The Avatar of Time
Member
Registered: 2008-01-11
Posts: 226

Re: [solved] MySQL fails to start on boot

I am having the same problem: mysqld fails to start at boot, and I can't start it manually either. Nothing has helped so far.

Sadly it's also keeping me from using MythTV sad

Offline

#10 2009-03-11 04:03:32

xcession
Member
From: Udon Thani, Thailand
Registered: 2008-05-07
Posts: 72
Website

Re: [solved] MySQL fails to start on boot

mysql update yesterday solved the problem. smile

Offline

#11 2009-03-11 22:12:20

The Avatar of Time
Member
Registered: 2008-01-11
Posts: 226

Re: [solved] MySQL fails to start on boot

The update fixed my issue as well.

Offline

#12 2009-03-12 10:15:13

Kariddi
Member
Registered: 2009-03-12
Posts: 45

Re: [solved] MySQL fails to start on boot

xcession wrote:

mysql update yesterday solved the problem. smile

it didn't for me sad

FAIL error at boot , but Mysql seems to start and works even if it fails.

Starting Mysql after the boot gives DONE message.

Offline

Board footer

Powered by FluxBB