• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

MySQL log big size, auto shrink?

Burnout

New Pleskian
Hello,

They mysqld.log file in %plesk_installdir%\Databases\MySQL\Log gets pretty big now -> 1,77GB.

Can I just delete this file? Is it possible that MySQL cleans up that file itself?


Kind regards,

Burn
 
The file has been growing till > 2GB now. I think I'm going to delete it.

Is there a logrotation possibility please?


Regard,

Burn
 
What about just removing mysql logging in MySQL config file?
 
I can suggest you create some logrotation.bat script for this purpose and run it periodically via created Scheduled Task in Plesk.
 
Back
Top