Re: check for server start

2002-01-17 Thread Aaron Brick
thanks, sinisa. in case anyone else wants it, here is the shell fragment i wrote to test for this condition. there is no timeout. #!/bin/sh echo -n "waiting for MySQL: " until [ -n "`mysqladmin ping 2>/dev/null`" ] do echo -n "."

Re: check for server start

2002-01-12 Thread Sinisa Milivojevic
Aaron Brick writes: > hi all, > > in debian, the /etc/init.d/mysql script waits for the appearance of > /var/run/mysqld/mysqld.pid to conclude that the server has started. since > the red hat init script does not do that, my program's own installer has to. > however we have had a report that wait

RE: check for server start

2002-01-11 Thread Robert L. Yelvington
--Original Message- From: Aaron Brick [mailto:[EMAIL PROTECTED]] Sent: Friday, January 11, 2002 1:01 PM To: [EMAIL PROTECTED] Subject: check for server start hi all, in debian, the /etc/init.d/mysql script waits for the appearance of /var/run/mysqld/mysqld.pid to conclude that the server h

check for server start

2002-01-11 Thread Aaron Brick
hi all, in debian, the /etc/init.d/mysql script waits for the appearance of /var/run/mysqld/mysqld.pid to conclude that the server has started. since the red hat init script does not do that, my program's own installer has to. however we have had a report that waiting for the pidfile is not enoug