/usr/local/bin/mysql -hhostname -uusername -ppassword -e "flush logs;"
Guy Davis wrote: >Just wondering if any Linux users of MySQL out there had written a >logrotate configuration file for dealing with MySQL binary logs on a >replication Master. > >I want to rotate these logs (6.5 GB now) as some are over a month old. >However, I don't want to confuse any of the replicating slaves. Any >tips? > >Thanks. > --------------------------------------------------------------------- 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