List:General Discussion« Previous MessageNext Message »
From:Sasha Pachev Date:July 28 1999 8:08pm
Subject:Re: You should mention /etc/rc0.d/S01mysql in the docs
View as plain text  
tneff@stripped wrote:
> >Description:
> Your configuration/installation docs correctly say the following about
> installing mysql to start automatically on Unix systems:
> # Usually this is put in /etc/init.d (at least on machines SYSV R4
> # based systems) and linked to /etc/rc3.d/S99mysql. When this is done
> # the mysql server will be started when the machine is started.
> What you do not mention is that it should ALSO be linked to /etc/rc0.d/S01mysql
> so that the mysql server can be stopped in an orderly fashion when the system
> comes down.  The mysql.server script is explicitly written to do this
> (looking for the 'stop' keyword).
> >Fix:
>         Add the appropriate text to support-files/mysql.server and anywhere
>         else this is discussed
> >Submitter-Id:  tneff
> >Originator:    Tom Neff
> >Category:      mysql
> >Release:       mysql-3.22.25 (TCX binary)
> >Server: ./mysqladmin  Ver 7.11 Distrib 3.22.25, for sun-solaris2.6 on sparc
> TCX Datakonsult AB, by Monty
> Server version          3.22.25
> Protocol version        10
> Connection              Localhost via UNIX socket
> UNIX socket             /tmp/mysql.sock
> Uptime:                 22 min 58 sec
> Threads: 1  Questions: 2  Slow queries: 0  Opens: 6  Flush tables: 1  Open tables: 2
> >Environment:
> System: SunOS mothra 5.6 Generic sun4u sparc SUNW,Ultra-1
> Architecture: sun4
> Some paths:  /usr/local/bin/perl /usr/local/bin/make /usr/local/bin/gcc
> /usr/local/bin/cc
> GCC: Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1/specs
> gcc version 2.8.1
> Compilation info: CC='gcc'  CFLAGS='-O3 -fomit-frame-pointer'  CXX='gcc' 
> CXXFLAGS='-O3 -fomit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti' 
> Configure command: ./configure  --prefix=/usr/local/mysql '--with-comment=TCX binary'
> --with-low-memory --disable-shared
> Perl: This is perl, version 5.005_02 built for sun4-solaris

Actually, myslqd will shut itself down exactly the same way on SIGTERM,
although having a link in /etc/rc.d/rc0.d would not hurt.

Sasha Pachev (home) (work)
You should mention /etc/rc0.d/S01mysql in the docstneff28 Jul
  • Re: You should mention /etc/rc0.d/S01mysql in the docsSasha Pachev29 Jul
    • RE: You should mention /etc/rc0.d/S01mysql in the docsTom Neff29 Jul
  • Re: You should mention /etc/rc0.d/S01mysql in the docsRobin Bowes29 Jul
    • Re: You should mention /etc/rc0.d/S01mysql in the docsThimble Smith30 Jul