How To Properly Configure Logrotate for MySQL Server
(Doc ID 2750571.1)
Last updated on OCTOBER 16, 2023
Applies to:
MySQL Server - Version 4.0 and later Information in this document applies to any platform.
Goal
The server log maintenance is a prominent task for a DBA. Logrotate is a very popular tool in Linux to keep the server logs for certain period, and purge unnecessary logs to prevent from wasting disks pace. Logrotate is very useful, but it needs some attention to avoid problems. This document describe how to setup logrotate properly for each log type.
Solution
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!