MySQL Forums
Forum List  »  Newbie

Re: Can I delete file 'mysql-bin.0000xx' ??
Posted by: valoonux
Date: March 26, 2006 11:33PM

Hi Phairote,

Yes you can
but consider to save these logs before (zip/tar).

With your mysql client :
mysql -u root -p
mysql> flush logs;
will create a brand new mysql-bin.0000xy
mysql> purge binary logs to 'mysql-bin.0000xy';
will purge all your logs files before the last.

Hope this helps

Options: ReplyQuote

Written By
Re: Can I delete file 'mysql-bin.0000xx' ??
March 26, 2006 11:33PM

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.