Re: MySQL shutting down...


Subject: Re: MySQL shutting down...
From: Kit Plummer (kp@yak.vme.com)
Date: Wed Sep 05 2001 - 09:02:08 MDT


Thank ya thank ya... that is what I was looking for...

At 03:07 PM 9/5/2001 +0200, you wrote:

>The init script of mysql-3.23.32 shipping with ydl 2.0 uses the mysqladmin
>tool to stop the server. This doesn't work if you password protect the
>root account of mysql (as is always a good idea).
>
>In /etc/rc.d/init.d/mysqld just change the line
> /usr/bin/mysqladmin shutdown > /dev/null 2>&1
>into
> /bin/kill `cat /var/run/mysqld/mysqld.pid 2>/dev/null` > /dev/null 2>&1
>
>
>Carsten
>
>
>On Tue, 4 Sep 2001, Kit Plummer wrote:
>
> > either "service mysqld restart" or "/etc/rc.d/init.d/mysqld stop". both
> > ways it fails. I am going to try the latest rev and see if I still have
> > the same prob...
> >
> > At 01:24 PM 9/4/2001 -0500, you wrote:
> > >on 9/4/01 1:20 PM, Kit Plummer at kp@yak.vme.com wrote:
> > >
> > > > Umm - I am not killing anything. The problem is somewhere in the
> > > > /etc/rc.d/init.d/mysqld script. Running: _service mysqld restart_ will
> > > > display a shutdown failure...
> > >
> > >Not for me it doesn't - I'm using "/etc/rc.d/init.d/mysqld stop"
> > >
> > >What are you using?
> > >
> > >
> > > Robert Brandtjen
> > > --------------------------------------
> > > Web Site Creation and Hosting Services
> > > Hostmaster@prometheusmedia.com
> > > www.prometheusmedia.com
> >



This archive was generated by hypermail 2a24 : Wed Sep 05 2001 - 08:08:59 MDT