Gelu wrote:
> 3.Go to in /etc/init.d and make 2(two) symbolic link from mysqld script to
> ...
> - "K12mysqld" - OS kill the daemon when shutdown.
> - "S12mysqld" - OS start the daemon on boot.
> ...in rc3.d directory (if your OS boot on text mode) or rc5.d directory (if
> your OS boot with graphical login).
The only quibble I have with this is that the K and S numbers should be
approximately (100-X) in relation to each other. Both K scripts and S
scripts get run in directory sequence (i.e. from K00 to K99 when shutting
down or switching to another runlevel, and S00 to S99 when starting up).
So if your process should be one of the earliest started, it should be one
of the last to shut down, and vice versa.
For DB products, typical convention is to use S95 and K05, or something
along those lines (i.e. start late, kill early).
--
Shankar.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.