The configuration community:
expire_logs_days
Information
The number of days for automatic binary log removal. The default is 0 which means no automatic removal. Possible removals happen at startup and at binary log rotation. This variable was added in MySQL 4.1.0.
Syntax
Example



