In the last episode (Jan 31), Eric Mayers said:
> How can I tell when the database is ready to go (preferably from a shell
> script)?

while ! mysqladmin status > /dev/null 2>&1 ; do sleep 10 ; done

-- 
        Dan Nelson
        [EMAIL PROTECTED]

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to