首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

110613 22:17:52 [Warning] Statement may not be safe to log in statement format

2012-07-05 
110613 22:17:52 [Warning] Statement may not be safe to log in statement format.110613 22:17:52 [War

110613 22:17:52 [Warning] Statement may not be safe to log in statement format.
110613 22:17:52 [Warning] Statement may not be safe to log in statement format. Statement: INSERT DELAYED INTO ol_answerlog_6 (UserId,QuestionId,IsCorrect,AnswerXML,CostTime,Subject) VALUES (902183,'24206451-5105-42ac-a708-6b881a271f97',0,'<as><a><i><![CDATA[B]]></i></a></as>',10,10)
处理:
binlog_format的设置是不是STATEMENT?改成MIXED应该就没有警告.

可以不重启来更改binlog_format:

mysql>set global binlog_format=mixed;(root权限)
在[mysqld]下面加入下面这行
binlog_format=mixed



热点排行