>>How do we automatically know the master has failed and record that offset?
>>
> 
> You need to have your system set up in such a way that failover event will 
> trigger the execution of a script, which will do all the magic.

Good idea!

I didn't think it was possible to put arbitrary mysql commands like SHOW 
MASTER STATUS into a script.  I had assumed I was limited to the 
shell-level utilities like mysqlimport and mysqldump.
How exactly do I put the
interactive commands into a script?

I'm on Linux and I can use PHP, Perl, shell, or whatever.

Thanks!

Steve



-- 
Steve Rapaport
World Citizen


---------------------------------------------------------------------
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