Hi!
>>>>> "John" == John Cartwright <[EMAIL PROTECTED]> writes:
John> Hello All,
John> I see a -t or a --timeout= option listed for mysqladmin, but I can't
John> seem to get mysqladmin to recognize it. Is this an oversight in
John> documentation or a case of my misunderstanding?
John> My objective is to be able to ping each of our mysql servers with a
John> script and report on their health. It seems that if the server is hung
John> up, the ping command doesn't return and I was hoping to remedy that with
John> the -t switch.
John> Thanks!
John> -- john
The --timeout option was something that was in mysqladmin just
temporarily, but never really enabled.
Try the following instead:
mysqladmin -O connect_timeout=5 ping
This will abort after 5 seconds if it can't connect to the MySQL
server.
Regards,
Monty
---------------------------------------------------------------------
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