首页 > 数据库技术 > 详细

MySQL升5.6引发的问题

时间:2014-09-19 17:26:25      阅读:369      评论:0      收藏:0      [点我收藏+]

昨天项目MySQL数据库从5.5升级到5.6,导致部分表无法进行更新操作,报如下错误:

When @@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.

MySQL官方给出的解决办法:

“updates to tables using nontransactional storage engines such as MyISAM cannot be made in the same statement or transaction as updates to tables using transactional storage engines such as InnoDB.” 

https://dev.mysql.com/doc/refman/5.6/en/replication-gtids-restrictions.html

参考文章:

http://blog.webyog.com/2014/05/12/suddenly-myisam-became-transaction-aware

MySQL升5.6引发的问题

原文:http://www.cnblogs.com/shockerli/p/update-mysql-to-56-question.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!