MySQL Forums
Forum List  »  Install & Repo

Re: bin log rotation does not work
Posted by: Justin Hamade
Date: May 05, 2006 09:02AM

If you change this line in /etc/cron.daily/mysql-server
filename=`tail -n $KEEP_BINARY_LOGS $tmp | head -n 1`
change it to
filename=`tail -n $KEEP_BINARY_LOGS $tmp | head -n 1 | awk '{print $1}'`

This is due to the SHOW MASTER LOGS; command now printing out file size as well as the file name for the log files.

Justin

Options: ReplyQuote


Subject
Written By
Posted
April 10, 2006 12:58AM
Re: bin log rotation does not work
May 05, 2006 09:02AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.