MySQL Duplicate Log Entry CloudLinux

In this tutorial, we will solve MySQL duplicate log entry CloudLinux.

Are you getting following error in /etc/cron.daily/logrotate?

error: mysqld:21 duplicate log entry for /var/lib/mysql/mysqld.log

This tutorial will guide you to solve the error. Follow these simple steps:

# ls -lsa /etc/logrotate.d/mysql*
/etc/logrotate.d/mysql
/etc/logrotate.d/mysqld

# rm /etc/logrotate.d/mysql

Leave a Comment

Your email address will not be published. Required fields are marked *

Open chat