mysql数据库一直显示warning_数据库错误日志中一堆【warning】怎么解决

错误日志中的warning可以不用理会吗?怎么解决这种问题?下面是我的错误日志1611300:33:01[Warning]UnsafestatementwrittentothebinarylogusingstatementformatsinceBINLOG_FORMAT=ST...

错误日志中的warning可以不用理会吗?怎么解决这种问题?下面是我的错误日志161130 0:33:01 [Warning] Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statement is unsafe because it invokes a trigger or a stored function that inserts into an AUTO_INCREMENT column. Inserted values cannot be logged correctly. Statement: CREATE PROCEDURE `Escan_overdue`() SQL SECURITY INVOKER call scan_overdue()161130 0:33:01 [Warning] Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statements writing to a table with an auto-increment column after selecting from another table are unsafe because the order in which rows are retrieved determines what (if any) rows will be written. This order cannot be predicted and may differ on master and the slave. Statement: CREATE PROCEDURE `Escan_overdue`() SQL SECURITY INVOKER call scan_overdue()161130 0:33:01 [Note] Event Scheduler: [root@localhost][fenqi3.Escan_overdue] Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statement is unsafe because it invokes a trigger or a stored function that inserts into an AUTO_INCREMENT column. Inserted values cannot be logged correctly.161130 0:33:01 [Note] Event Scheduler: [root@localhost][fenqi3.Escan_overdue] Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statements writing to a table with an auto-increment column after selecting from another table are unsafe because the order in which rows are retrieved determines what (if any) rows will be written. This order cannot be predicted and may differ on master and the slave.161130 1:33:01 [Warning] Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statement is unsafe because it invokes a trigger or a stored function that inserts into an AUTO_INCREMENT column. Inserted values cannot be logged correctly. Statement: CREATE PROCEDURE `Escan_overdue`() SQL SECURITY INVOKER call scan_overdue()161130 1:33:01 [Warning] Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statements writing to a table with an auto-increment column after selecting from another table are unsafe because the order in which rows are retrieved determines what (if any) rows will be written. This order cannot be predicted and may differ on master and the slave. Statement: CREATE PROCEDURE `Escan_overdue`() SQL SECURITY INVOKER call scan_overdue()161130 1:33:01 [Note] Event Scheduler: [root@localhost][fenqi3.Escan_overdue] Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statement is unsafe because it invokes a trigger or a stored function that inserts into an AUTO_INCREMENT column. Inserted values cannot be logged correctly.

展开

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值