Error Code: 1786. Statement violates GTID consistency: CREATE TABLE … SELECT.
https://dev.mysql.com/doc/refman/8.0/en/replication-gtids-restrictions.html
- 나눠서 실행 (트랜잭션 크기에 유의해야 함)
CREATE TABLE schema_name.table_name_new LIKE schema_name.table_name; INSERT INTO schema_name.table_name_new SELECT * FROM schema_name.table_name;