John Cartwright writes:
> Hello All,
>
> I see a -t or a --timeout= option listed for mysqladmin, but I can't
> seem to get mysqladmin to recognize it. Is this an oversight in
> documentation or a case of my misunderstanding?
>
> My objective is to be able to ping each of our mysql servers with a
> script and report on their health. It seems that if the server is hung
> up, the ping command doesn't return and I was hoping to remedy that with
> the -t switch.
>
> Thanks!
>
> -- john
>
> ===============================================================================
> John Cartwright
> Professional Research Assistant / Associate Scientist
> CIRES, SEG/NGDC/NOAA
> (303) 497-6284
> [EMAIL PROTECTED]
> ===============================================================================
>
Hi!
Seems that you are right. Try setting connect_timeout variable instead.
Regards,
Sinisa
____ __ _____ _____ ___ == MySQL AB
/*/\*\/\*\ /*/ \*\ /*/ \*\ |*| Sinisa Milivojevic
/*/ /*/ /*/ \*\_ |*| |*||*| mailto:[EMAIL PROTECTED]
/*/ /*/ /*/\*\/*/ \*\|*| |*||*| Larnaca, Cyprus
/*/ /*/ /*/\*\_/*/ \*\_/*/ |*|____
^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^
/*/ \*\ Developers Team
---------------------------------------------------------------------
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