10 messages in com.mysql.lists.mysqlRe: mysqld refuses to run on boot
FromSent OnAttachments
Fredrik Andersson21 Jun 2006 07:04 
Daniel da Veiga21 Jun 2006 07:27 
Jay Pipes21 Jun 2006 07:58 
Jay Pipes22 Jun 2006 07:45 
Joerg Bruehe23 Jun 2006 07:11 
Karl Larsen24 Jun 2006 04:48 
Duncan Hill24 Jun 2006 04:54 
Karl Larsen24 Jun 2006 05:16 
Joerg Bruehe25 Jun 2006 04:59 
Karl Larsen25 Jun 2006 05:04 
Subject:Re: mysqld refuses to run on boot
From:Jay Pipes (ja@mysql.com)
Date:06/21/2006 07:58:31 AM
List:com.mysql.lists.mysql

Probably a permissions issue. Ensure that the directory in which the pid file is created (I believe /var/run or /var/lib/mysql on RH) has write permission for the mysql system user/group. Also, ensure permissions/ownership on the datadir (/var/lib/mysql) for the mysql owner/group.

Fredrik Andersson wrote:

Hi all

I have problems getting MySQL autoboot on my RedHat installation. I have tried to add the mysql.server start script from the install dir to the system with chkconfig --add mysql (I copied it to /etc/init.d/) and then trying to add mysql to the default boot order with chkconfig mysql on but no luck there.

I have even tried to edit rc.local with the commands service mysql start (this work when I run it myself) and mysqld -u mysql ...

The log file says that mysql has been started and then ended directly after..

060621 13:12:29 mysqld started 060621 13:12:33 mysqld ended

Anyone that have any tip on how to solve this?

I can add that chkconfig -- list | grep mysql tells me that MySQL has been configured to run on boot levels 3,4 and 5 correctly and go down on 1,2 and 6 but still it refuses to work. =(

Version being used is, RHEL 4.3 and MySQL 5.0.22

All help is greatly appreciated.

Are You MySQL Certified? http://www.mysql.com/certification Got Cluster? http://www.mysql.com/cluster