Skip to contentSkip to conversation

Rotating mysqld.log

DISCUSSION David Jackson 1 participant 1 message Jun 10, 2002

lore
Share & tools
lore
#0 lore raw

Rams --

One of the keys to getting you question answered quickly is posting to the forum that most closing deals with you issue, as well as searching threw the documentation. In this case your taking about MySQL, here's some links the will help you:

Are you using the mysql log rotate sciipt that comes with mysql? find / -name mysql-log-rotate

MySQL mailing list:
http://mysql.com/documentation/lists.html

MySQL searchable documentation:
http://mysql.com/doc

Log file maintence :
http://www.mysql.com/doc/L/o/Log_file_maintenance.html

Your might want to consider doing a rotate once a day, compressing it backing it up and removing it depending on the size.

HTH,
David