pvinodp
asked on
How to do Log rotation and set max log file size policy in mysql ?
I know how to enable log for mysql:
i insert the following line in /etc/my.cnf:
log=/datalogs/mysql.log
But how to configure mysql for log rotation and to set the max size for the same?
Is it possible to set that only teh update,insert and delete commands be logged ... i dont want to log select queries.
i insert the following line in /etc/my.cnf:
log=/datalogs/mysql.log
But how to configure mysql for log rotation and to set the max size for the same?
Is it possible to set that only teh update,insert and delete commands be logged ... i dont want to log select queries.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER