After adding mysql.server using:
# chkconfig --add mysql.server
# chkconfig --level 345 mysql.server on
# chkconfig --list | grep mysql
fails to list mysql.server.
# locate mysql.server
The file /etc/rc.d/init.d/mysql.server contains the required
info for chkconfig:
# Comments to support chkconfig on RedHat Linux
# chkconfig: 2345 90 90
# description: A very fast and reliable SQL database engine.
Where did you obtain the rpm of mysql that you are using?
MySQL was built from an srpm (no longer available for 3.22.23b at
$ rpm -qip MySQL-3.22.23b-1.i386.rpm
Name : MySQL Relocations: (not
Version : 3.22.23b Vendor: (none)
Release : 1 Build Date: Thu Jun 17
15:08:09 1999Install date: (not installed) Build Host:
Group : Applications/Databases Source RPM:
MySQL-3.22.23b-1.src.rpmSize : 15845333
License: MySQL FREE PUBLIC LICENSE (See the file PUBLIC)
Packager : David Axmark <email@example.com>
URL : http://www.mysql.com/
Summary : MySQL: a very fast and reliable SQL database engine
Rebuilt MySQL using 3.22.25 srpm. There was a change of
/etc/rc.d/init.d/mysql.server to /etc/rc.d/init.d/mysql . chkconfig
works fine with the non-dotted name. The problem appears to be that
chkconfig couldn't handle somename.anything.
Yep, the init scripts can no longer use the dot notation. That was
changed a while back. All new initscripts should be a single word now.