MySQL Binary Log Rotation

Came across a handy configuration setting for mysql:

expire_logs_days = 7

Controls how many days of binary log files should be retained. Very good way to keep the binary logs from over flowing available storage.

blog comments powered by Disqus