MySQL Forums :: Replication :: Prevent logging for unsafe statements


Advanced Search

Prevent logging for unsafe statements
Posted by: Frank Flottemesch ()
Date: September 29, 2014 08:15AM

Hello,
unsafe statements in our environment (MySQL 5.5) with binlog_format STATEMENT result in a log entry in the error log (log_error). As we do not use replication, and because we do not want to change the binlog_format, i am looking for a way to disable these log entries. I read about a hint or using BINLOG_FLAG_UNSAFE_STMT_PRINTED variable, but i haven't found the hint or information how to use the variable.

Cheers
Frank

Options: ReplyQuote


Subject Views Written By Posted
Prevent logging for unsafe statements 1370 Frank Flottemesch 09/29/2014 08:15AM
Re: Prevent logging for unsafe statements 665 Rick James 10/02/2014 08:59AM
Re: Prevent logging for unsafe statements 734 Frank Flottemesch 10/08/2014 02:59AM


Sorry, you can't reply to this topic. It has been closed.

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.