Mike Mimic <[EMAIL PROTECTED]> wrote: > Hi! > > I have a problem with logging. I am logging all > queries to MySQL server. And I have a program which > inserts large chunks of data. The problem is that I > would like to log all queries except for those insert > queries as those flood my logs (they get really very > big). The program is written in Perl. But I would like > to know if MySQL API supports something like that? Is > there some workaround? So is there a way to say that > you do not want this connection (I would set this in > that program with inserts queries) to be logged - or > this query? Is there some other solution? I just do > not want those insert gueries to be logged. >
If you execute SET SQL_LOG_OFF=1, no logging will be done for this client: http://www.mysql.com/doc/en/SET_OPTION.html -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Egor Egorov / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net <___/ www.mysql.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]