MySQL Forums
Forum List  »  MySQL Administrator

mysql slow query log deletion
Posted by: omkar prabhu
Date: September 10, 2009 12:30PM


we use mysql 5.0 with replication setup.we have enabled mysql slow query logs.
The query log file have grown huge. I want to purge slow log without restarting mysql.I learned that there are commands like flush logs which do so.If i use flush command I assume it will clear all logs . Will this clear logs used by replication and thus affect replication synchrozination?

Is there any way i just clear on mysql query log and rest all log files remains intact?

Please advise.


Options: ReplyQuote

Written By
mysql slow query log deletion
September 10, 2009 12:30PM

Sorry, you can't reply to this topic. It has been closed.
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.