I notice that I see mysql failing to stop on reboot of my machine,
however I believe it's because it already was stopped at an earlier
runlevel:

[root@daevid rc3.d]# locate mysql | grep "/etc/rc.d/"
/etc/rc.d/init.d/mysqld
/etc/rc.d/init.d/mysql
/etc/rc.d/rc0.d/K90mysql
/etc/rc.d/rc0.d/K12mysqld
/etc/rc.d/rc1.d/K90mysql
/etc/rc.d/rc1.d/K12mysqld
/etc/rc.d/rc2.d/S90mysql
/etc/rc.d/rc2.d/K12mysqld
/etc/rc.d/rc3.d/K90mysql
/etc/rc.d/rc3.d/S78mysqld
/etc/rc.d/rc4.d/S90mysql
/etc/rc.d/rc4.d/K12mysqld
/etc/rc.d/rc5.d/K90mysql
/etc/rc.d/rc5.d/S78mysqld
/etc/rc.d/rc6.d/K90mysql
/etc/rc.d/rc6.d/K12mysqld

So I decided I'd go through and remove all of these (mebbe they were
legacy or something) and then just re-install the new RPM's with the
idea that they would set things up properly. After that, I only have:

[root@daevid rc3.d]# find /etc/ -name *mysql*
/etc/rc.d/rc0.d/K90mysql
/etc/rc.d/rc1.d/K90mysql
/etc/rc.d/rc3.d/K90mysql
/etc/rc.d/rc5.d/K90mysql
/etc/rc.d/rc6.d/K90mysql

[root@daevid rc3.d]# ll /etc/rc.d/rc0.d/K90mysql
lrwxrwxrwx    1 root     root           15 Dec  5 12:15
/etc/rc.d/rc0.d/K90mysql -> ../init.d/mysql
[root@daevid rc3.d]# ll /etc/rc.d/init.d/mysql 
-rwxr-xr-x    1 root     root         4365 Oct 16 09:52
/etc/rc.d/init.d/mysql

How come there are no SNNmysql entries to START the database? Where
should they be (which rc.d directory), and at what NN number? Shouldn't
the RPM do that for me automatically? 

How do these rcX.d directories work anyways? If I'm running my server to
go to init level 3 (no X-windows), does it go through rc0.d, rc1.d,
rc2.d and rc3.d processing ALL the things in each dir or does it just
jump to rc3.d and skip the others? And why is there an rc6.d? I thought
5 was the highest?

[root@daevid rc3.d]# /etc/rc.d/init.d/mysql    
usage: /etc/rc.d/init.d/mysql start|stop

And furthermore, how come the options are only to start|stop? Why no
'restart' like it used to have? What happened to the VERY NICE version
that looks like all the other services that startup and stop in RedHat,
with the  "Starting mySQL            [  OK   ]" look to it? Does the
mySQL-max rpm hose that? 



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to