mysql error:@@GLOBAL.ENFORCE_GTID_CONSISTENCY = 1,updates to non-transactional tables can only be done in either autocommitted statements or single-statement transactions

error信息如下:
@@GLOBAL.ENFORCE_GTID_CONSISTENCY = 1, updates to non-transactional tables can only be done in either autocommitted statements or
single-statement transactions, and never in the same statement as updates to transactional tables.

解决:

查看开发脚本,一个脚本的单个事务中存在以下内容:

insert插入到innodb表,update 更新的是mysaim表 。

联系开发sql拆分两个脚本 分开提交,问题解决。

posted @ 2019-07-30 15:06  白菜叶叶  阅读(1056)  评论(0编辑  收藏  举报