Russell,
Wednesday, October 09, 2002, 1:44:14 AM, you wrote:

RU> we use the binary log as a crash recovery tool.
RU> therefore, once we have backed up the db (we use the excellent mysql_backup for 
this) we can happily discard yesterday's binlog.
RU> the only correct way i've found to get rid of old binlogs in to issue RESET 
MASTER, and i figure i should do this at the same time
RU> that the logs get flushed.
RU> however, neither mysqldump nor mysqladmin have a RESET MASTER option.
RU> has anyone found a good way to do this?

It's not an option, it's a command that you execute from client, for
example:
        mysql> RESET MASTER;
        Query OK, 0 rows affected (0.01 sec)


-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Victoria Reznichenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com





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