开发者

MySQL filter general_log

I a开发者_如何转开发m on a very active server and would like to keep certain repetitive queries from being placed in the log table.

I have tried making a trigger on the mysql.general_log table, but it appears that its not possible to make triggers in the mysql database. ( And if by chance the MySQL decides to log the trigger, then it having the trigger would defeat that purpose as well. )


Not possible I'm afraid. – Mchl Jan 7 at 22:27

Mchl Seems to have the best answer in my comment. To bad I can't mark a comment as solved. :P

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜