java.sql.SQLException: General error message from server: "Statement violates GTID consistency: 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."
大概意思:语句违反GTID一致性:对非事务性表的更新只能在自动提交语句或单语句事务中进行,而决不在与事务表更新相同的语句中完成。
也就是表的引擎可能出现问题了。可以尝试修改数据的引擎(navicat-->选中表--->右键-->设计表-->选项-->引擎)。
把ENGINE 从 InnoDB 修改为MyISAM 试一试。
参考来自:http://www.cnblogs.com/canmeng-cn/p/5969188.html