Thanks to all that responded. The answer was a little different from the
one below. So what it came out to was this:
while [ -f $mysqlpid ]
do
sleep 1
/etc/rc.d/init.d/mysqld stop
done
For those that recommended webmin. Although I have webmin installed,
because of the
On Tue, Jun 15, 2004 at 08:04:00AM -0500, Steve Buehler wrote:
> I am having a problem with a backup script that is written in a shell
> (/bin/sh) script to backup my mysql databases. For some reason on any day
> with an even number I get the following error:
> MySQL could not be stopped, exitin
I am having a problem with a backup script that is written in a shell
(/bin/sh) script to backup my mysql databases. For some reason on any day
with an even number I get the following error:
MySQL could not be stopped, exiting...
It is really weird because it will run on odd number days without