You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MySQL "enforce_gtid_consistency=true" will cause a "Error: 1787 When @@GLOBAL.ENFORCE_GTID_CONSISTENCY = 1, the statements CREATE TEMPORARY TABLE and DROP TEMPORARY TABLE ..."
#1757
Closed
mwjames opened this issue
Aug 4, 2016
· 0 comments
This is caused by MySQL's handling of Global Transaction ID's which states that "... Since only transactionally safe statements can be logged when --enforce-gtid-consistency is enabled, it follows that the operations listed here cannot be used with this option: CREATE TABLE ... SELECT statements CREATE TEMPORARY TABLE statements inside transactions ..."
* Add option to create temp tables in auto commit mode, refs #1757
Backport to 2.4.x branch.
* Remove the Settings::Add test which is not available on branch 2.4.x.
Setup and configuration
Issue
Adding the following setting to
my.ini
Caused by
This is caused by MySQL's handling of Global Transaction ID's which states that "... Since only transactionally safe statements can be logged when --enforce-gtid-consistency is enabled, it follows that the operations listed here cannot be used with this option: CREATE TABLE ... SELECT statements CREATE TEMPORARY TABLE statements inside transactions ..."
[0] https://dev.mysql.com/doc/refman/5.6/en/replication-options-gtids.html
The text was updated successfully, but these errors were encountered: