MySQL Binary Log Rotation By admin on March 19, 2009 in MySQL Came across a handy configuration setting for mysql: <em>expire_logs_days = 7</em> 1 <em>expire_logs_days = 7</em> Controls how many days of binary log files should be retained. Very good way to keep the binary logs from over flowing available storage. Related posts: MySQL 4.1.13 Binary Install To RHEL 3 Taroon MySQL Import Problem – Autoincrement Mysql Password Recovery Easy MySql Install on RHEL AS4 Adding MySQL Users