MySQL Logs Do Not Get Rotated by logrotate Cron Job (Doc ID 2112039.1)

Last updated on MARCH 26, 2017

Applies to:

MySQL Server - Version 5.0 and later
Linux x86
Linux x86-64

Goal

How to set login credentials from a hidden config file when running mysqladmin from cron'ed logrotate script.
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms