mysql error日志的一个问题
来源:互联网 发布:网络分层模型详解 编辑:程序博客网 时间:2024/05/20 08:44
2014-01-08 10:26:50 13761 [Warning] Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. INSERT... ON DUPLICATE KEY UPDATE on a table with more than one UNIQUE KEY is unsafe Statement: INSERT INTO `tb_user_69`(`nick_name`,`user_id`) VALUES('滔哥test','900698') ON DUPLICATE KEY UPDATE `nick_name`='滔哥test',`user_id`='900698'
2014-01-08 10:28:43 13761 [Warning] Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. INSERT... ON DUPLICATE KEY UPDATE on a table with more than one UNIQUE KEY is unsafe Statement: INSERT INTO `tb_user_69`(`sex`,`user_id`) VALUES('1','900698') ON DUPLICATE KEY UPDATE `sex`='1',`user_id`='900698'
2014-01-08 10:38:22 13761 [Warning] Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. The statement is unsafe because it uses a LIMIT clause. This is unsafe because the set of rows included cannot be predicted. Statement: DELETE FROM `db_application`.`mine_car_info` WHERE `mine_car_info`.`mine_car_id` = 78 LIMIT 1
由于开启了replication, 且binlog日志的格式默认为STATEMENT。查看官方手册有以下解释:
When one or more tables with AUTO_INCREMENT
columns are updated and a trigger or stored function is invoked. Like all other unsafe statements, this generates a warning ifbinlog_format = STATEMENT
.
For more information, see Section 16.4.1.1, “Replication and AUTO_INCREMENT
”.
将数据库binlog_format 设置为mixed后,error日志不在提示该警告提示。
- mysql error日志的一个问题
- MYSQL一个简单的问题 error: Failed dependencies: MySQL-server conflicts with mysql-server
- 【mysql学习】MYSQL开启错误日志Error Log的方法
- MySQL 错误日志(Error Log)
- MySQL 错误日志 Error log
- mysql redo日志太小的问题
- 启动 Mysql时的 error 1067问题
- mysql同步的一个问题:
- mysql delete的一个问题
- 一个MYSQL的小问题
- mysql复制的一个问题
- 有趣的一个mysql问题
- mysql 的一个死锁问题
- 2014-04-09工作日志:error:出现了一个问题,将导致程序停止工作。
- ContentProvider 一个error问题
- Tomcat遇到“Error listenerStart”或“Error filterStart”问题且无详细日志时的log配置.
- Tomcat遇到”Error listenerStart”或”Error filterStart”问题且无详细日志时的log配置.
- pdo,mysql 中binlog日志记录的一个 bug
- Linux网络配置 2
- java 产生多个不重复的随机数
- davinci 6446 UART1 rs485驱动
- 用HTML+JS实现Android闹钟功能,附带Alarm代码分享
- 关于UITableView的Cell复用谈谈一些心得
- mysql error日志的一个问题
- 红宝书笔记《第7版》
- POJ 2886 Who Gets the Most Candies?(线段树)
- jquery高级方法描述与应用
- ibatis的iterate使用 1
- 通过配置为数据库表维护视图,同时创建事务码
- jQuery Validation Engine 表单验证
- 递归找出当前View上处于可编辑状态的UIView
- 如何修改linux主机名称