我的编程空间,编程开发者的网络收藏夹
学习永远不晚

MySQL Error number: 3117; Symbol: ER_ENFORCE_GTID_CONSISTENCY_WARN_WITH_ONGOING_GTID_VIOLATING_TX; S

短信预约 -IT技能 免费直播动态提醒
省份

北京

  • 北京
  • 上海
  • 天津
  • 重庆
  • 河北
  • 山东
  • 辽宁
  • 黑龙江
  • 吉林
  • 甘肃
  • 青海
  • 河南
  • 江苏
  • 湖北
  • 湖南
  • 江西
  • 浙江
  • 广东
  • 云南
  • 福建
  • 海南
  • 山西
  • 四川
  • 陕西
  • 贵州
  • 安徽
  • 广西
  • 内蒙
  • 西藏
  • 新疆
  • 宁夏
  • 兵团
手机号立即预约

请填写图片验证码后获取短信验证码

看不清楚,换张图片

免费获取短信验证码

MySQL Error number: 3117; Symbol: ER_ENFORCE_GTID_CONSISTENCY_WARN_WITH_ONGOING_GTID_VIOLATING_TX; S

文档解释

Error number: 3117; Symbol: ER_ENFORCE_GTID_CONSISTENCY_WARN_WITH_ONGOING_GTID_VIOLATING_TX; SQLSTATE: HY000

Message: There are ongoing transactions that violate GTID consistency.

错误说明:

ER_ENFORCE_GTID_CONSISTENCY_WARN_WITH_ONGOING_GTID_VIOLATING_TX,MySQL数据库引擎错误号3117,SQLSTATE HY000,是指根据MySQL GTID约束,在进行复制和正在执行的GTID违反事务之间发生冲突的情况下被触发的警告。GTID(全局唯一标识)是mysql复制技术的一部分,用于确保MySQL复制集群在任何时候都保持一致性。

常见案例

在MySQL复制环境中,系统会针对每个事务设置一个独一无二的GTID值作为全局唯一标识符。GUID有助于维护从服务器之间的一致性,以确保在多台服务器之间正确复制数据。但是,如果出现主从服务器不一致GTID时,就会触发ER_ENFORCE_GTID_CONSISTENCY_WARN_WITH_ONGOING_GTID_VIOLATING_TX错误,从而终止主从复制。常见情况是,使用GTID复制时,由于数据在主从之间不一致而触发此错误。

解决方法:

其一,检查出现GTID冲突的事务:查看主服务器上的GTID_EXECUTED集合,查看从服务器的GTID_PURGED集合来查找冲突的GTID,然后关闭服务器,以确保主从一致。

其二,使用CHANGE MASTER语句:此语句会重新分配主从服务器之间的GTID,因此可用于解决GTID冲突。为减少丢失数据,使用CHANGE MASTER之Sneek时,应使用比当前状态更新的状态。

其三,忽略警告并继续执行:如果需要继续执行GTID冲突事务,可以使用GTID_IGNORE_GWTID_VIOLATING_TX令牌,指定MySQL忽略此警告并继续执行GTID违反的事务,但是MySQL不建议这样做,有可能会造成主从不一致而导致数据丢失。

免责声明:

① 本站未注明“稿件来源”的信息均来自网络整理。其文字、图片和音视频稿件的所属权归原作者所有。本站收集整理出于非商业性的教育和科研之目的,并不意味着本站赞同其观点或证实其内容的真实性。仅作为临时的测试数据,供内部测试之用。本站并未授权任何人以任何方式主动获取本站任何信息。

② 本站未注明“稿件来源”的临时测试数据将在测试完成后最终做删除处理。有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341

MySQL Error number: 3117; Symbol: ER_ENFORCE_GTID_CONSISTENCY_WARN_WITH_ONGOING_GTID_VIOLATING_TX; S

下载Word文档到电脑,方便收藏和打印~

下载Word文档

猜你喜欢

MySQL Error number: 3117; Symbol: ER_ENFORCE_GTID_CONSISTENCY_WARN_WITH_ONGOING_GTID_VIOLATING_TX; S

文档解释Error number: 3117; Symbol: ER_ENFORCE_GTID_CONSISTENCY_WARN_WITH_ONGOING_GTID_VIOLATING_TX; SQLSTATE:
MySQL Error number: 3117; Symbol: ER_ENFORCE_GTID_CONSISTENCY_WARN_WITH_ONGOING_GTID_VIOLATING_TX; S
2023-11-05

MySQL Error number: 4015; Symbol: ER_ASSIGN_GTIDS_TO_ANONYMOUS_TRANSACTIONS_REQUIRES_GTID_MODE_ON; S

文档解释Error number: 4015; Symbol: ER_ASSIGN_GTIDS_TO_ANONYMOUS_TRANSACTIONS_REQUIRES_GTID_MODE_ON; SQLSTATE:
MySQL Error number: 4015; Symbol: ER_ASSIGN_GTIDS_TO_ANONYMOUS_TRANSACTIONS_REQUIRES_GTID_MODE_ON; S
2023-11-05

MySQL Error number: 3116; Symbol: ER_CANT_ENFORCE_GTID_CONSISTENCY_WITH_ONGOING_GTID_VIOLATING_TX; S

文档解释Error number: 3116; Symbol: ER_CANT_ENFORCE_GTID_CONSISTENCY_WITH_ONGOING_GTID_VIOLATING_TX; SQLSTATE:
MySQL Error number: 3116; Symbol: ER_CANT_ENFORCE_GTID_CONSISTENCY_WITH_ONGOING_GTID_VIOLATING_TX; S
2023-11-05

MySQL Error number: 4066; Symbol: ER_CHANGE_REP_SOURCE_CANT_DISABLE_REQ_ROW_FORMAT_WITH_GTID_ONLY; S

文档解释Error number: 4066; Symbol: ER_CHANGE_REP_SOURCE_CANT_DISABLE_REQ_ROW_FORMAT_WITH_GTID_ONLY; SQLSTATE:
MySQL Error number: 4066; Symbol: ER_CHANGE_REP_SOURCE_CANT_DISABLE_REQ_ROW_FORMAT_WITH_GTID_ONLY; S
2023-11-05

MySQL Error number: 3955; Symbol: ER_USER_ACCESS_DENIED_FOR_USER_ACCOUNT_BLOCKED_BY_PASSWORD_LOCK; S

文档解释Error number: 3955; Symbol: ER_USER_ACCESS_DENIED_FOR_USER_ACCOUNT_BLOCKED_BY_PASSWORD_LOCK; SQLSTATE:
MySQL Error number: 3955; Symbol: ER_USER_ACCESS_DENIED_FOR_USER_ACCOUNT_BLOCKED_BY_PASSWORD_LOCK; S
2023-11-05

MySQL Error number: MY-011427; Symbol: ER_KEYRING_AWS_FAILED_TO_GET_KMS_CREDENTIAL_FROM_CONF_FILE; S

文档解释Error number: MY-011427; Symbol: ER_KEYRING_AWS_FAILED_TO_GET_KMS_CREDENTIAL_FROM_CONF_FILE; SQLSTATE:
MySQL Error number: MY-011427; Symbol: ER_KEYRING_AWS_FAILED_TO_GET_KMS_CREDENTIAL_FROM_CONF_FILE; S
2023-11-05

MySQL Error number: MY-013229; Symbol: ER_SERVER_GTID_UNSAFE_CREATE_DROP_TEMP_TABLE_IN_TRX_IN_SBR; S

文档解释Error number: MY-013229; Symbol: ER_SERVER_GTID_UNSAFE_CREATE_DROP_TEMP_TABLE_IN_TRX_IN_SBR; SQLSTATE:
MySQL Error number: MY-013229; Symbol: ER_SERVER_GTID_UNSAFE_CREATE_DROP_TEMP_TABLE_IN_TRX_IN_SBR; S
2023-11-05

MySQL Error number: MY-013508; Symbol: ER_RPL_SLAVE_APPLY_LOG_EVENT_FAILED_INVALID_NON_ROW_FORMAT; S

文档解释Error number: MY-013508; Symbol: ER_RPL_SLAVE_APPLY_LOG_EVENT_FAILED_INVALID_NON_ROW_FORMAT; SQLSTATE:
MySQL Error number: MY-013508; Symbol: ER_RPL_SLAVE_APPLY_LOG_EVENT_FAILED_INVALID_NON_ROW_FORMAT; S
2023-11-04

MySQL Error number: MY-013525; Symbol: ER_ACCESS_DENIED_FOR_USER_ACCOUNT_BLOCKED_BY_PASSWORD_LOCK; S

文档解释Error number: MY-013525; Symbol: ER_ACCESS_DENIED_FOR_USER_ACCOUNT_BLOCKED_BY_PASSWORD_LOCK; SQLSTATE:
MySQL Error number: MY-013525; Symbol: ER_ACCESS_DENIED_FOR_USER_ACCOUNT_BLOCKED_BY_PASSWORD_LOCK; S
2023-11-05

MySQL Error number: MY-013781; Symbol: ER_GRP_RPL_MYSQL_NETWORK_PROVIDER_CLIENT_ERROR_COMMAND_ERR; S

文档解释Error number: MY-013781; Symbol: ER_GRP_RPL_MYSQL_NETWORK_PROVIDER_CLIENT_ERROR_COMMAND_ERR; SQLSTATE:
MySQL Error number: MY-013781; Symbol: ER_GRP_RPL_MYSQL_NETWORK_PROVIDER_CLIENT_ERROR_COMMAND_ERR; S
2023-11-05

MySQL Error number: MY-010785; Symbol: ER_NDB_EMPTY_NODEID_IN_NDB_CLUSTER_CONNECTION_POOL_NODEIDS; S

文档解释Error number: MY-010785; Symbol: ER_NDB_EMPTY_NODEID_IN_NDB_CLUSTER_CONNECTION_POOL_NODEIDS; SQLSTATE:
MySQL Error number: MY-010785; Symbol: ER_NDB_EMPTY_NODEID_IN_NDB_CLUSTER_CONNECTION_POOL_NODEIDS; S
2023-11-05

MySQL Error number: MY-013980; Symbol: ER_BULK_PARSER_UNEXPECTED_CHAR_AFTER_COLUMN_TERMINATOR_LOG; S

文档解释Error number: MY-013980; Symbol: ER_BULK_PARSER_UNEXPECTED_CHAR_AFTER_COLUMN_TERMINATOR_LOG; SQLSTATE:
MySQL Error number: MY-013980; Symbol: ER_BULK_PARSER_UNEXPECTED_CHAR_AFTER_COLUMN_TERMINATOR_LOG; S
2023-11-04

MySQL Error number: MY-013999; Symbol: ER_RPL_REPLICA_SOURCE_UUID_HAS_CHANGED_HOST_PORT_UNCHANGED; S

文档解释Error number: MY-013999; Symbol: ER_RPL_REPLICA_SOURCE_UUID_HAS_CHANGED_HOST_PORT_UNCHANGED; SQLSTATE:
MySQL Error number: MY-013999; Symbol: ER_RPL_REPLICA_SOURCE_UUID_HAS_CHANGED_HOST_PORT_UNCHANGED; S
2023-11-05

MySQL Error number: MY-011429; Symbol: ER_KEYRING_AWS_FAILED_TO_INIT_DUE_TO_PLUGIN_INTERNAL_ERROR; S

文档解释Error number: MY-011429; Symbol: ER_KEYRING_AWS_FAILED_TO_INIT_DUE_TO_PLUGIN_INTERNAL_ERROR; SQLSTATE:
MySQL Error number: MY-011429; Symbol: ER_KEYRING_AWS_FAILED_TO_INIT_DUE_TO_PLUGIN_INTERNAL_ERROR; S
2023-11-05

MySQL Error number: MY-011591; Symbol: ER_GRP_RPL_FAILED_TO_BROADCAST_GRP_MEMBERSHIP_NOTIFICATION; S

文档解释Error number: MY-011591; Symbol: ER_GRP_RPL_FAILED_TO_BROADCAST_GRP_MEMBERSHIP_NOTIFICATION; SQLSTATE:
MySQL Error number: MY-011591; Symbol: ER_GRP_RPL_FAILED_TO_BROADCAST_GRP_MEMBERSHIP_NOTIFICATION; S
2023-11-05

MySQL Error number: MY-010529; Symbol: ER_RPL_SLAVE_FAILED_TO_CREATE_OR_RECOVER_INFO_REPOSITORIES; S

文档解释Error number: MY-010529; Symbol: ER_RPL_SLAVE_FAILED_TO_CREATE_OR_RECOVER_INFO_REPOSITORIES; SQLSTATE:
MySQL Error number: MY-010529; Symbol: ER_RPL_SLAVE_FAILED_TO_CREATE_OR_RECOVER_INFO_REPOSITORIES; S
2023-11-05

MySQL Error number: MY-010496; Symbol: ER_NDB_BINLOG_FAILED_CREATE_EVENT_OPERATIONS_DURING_RENAME; S

文档解释Error number: MY-010496; Symbol: ER_NDB_BINLOG_FAILED_CREATE_EVENT_OPERATIONS_DURING_RENAME; SQLSTATE:
MySQL Error number: MY-010496; Symbol: ER_NDB_BINLOG_FAILED_CREATE_EVENT_OPERATIONS_DURING_RENAME; S
2023-11-05

MySQL Error number: MY-010540; Symbol: ER_RPL_RECOVERY_REPLICATE_SAME_SERVER_ID_REQUIRES_POSITION; S

文档解释Error number: MY-010540; Symbol: ER_RPL_RECOVERY_REPLICATE_SAME_SERVER_ID_REQUIRES_POSITION; SQLSTATE:
MySQL Error number: MY-010540; Symbol: ER_RPL_RECOVERY_REPLICATE_SAME_SERVER_ID_REQUIRES_POSITION; S
2023-11-05

MySQL Error number: MY-011635; Symbol: ER_GRP_RPL_PLUGIN_STRUCT_INIT_NOT_POSSIBLE_ON_SERVER_START; S

文档解释Error number: MY-011635; Symbol: ER_GRP_RPL_PLUGIN_STRUCT_INIT_NOT_POSSIBLE_ON_SERVER_START; SQLSTATE:
MySQL Error number: MY-011635; Symbol: ER_GRP_RPL_PLUGIN_STRUCT_INIT_NOT_POSSIBLE_ON_SERVER_START; S
2023-11-05

MySQL Error number: MY-013774; Symbol: ER_WARN_AUDIT_LOG_FORMAT_UNIX_TIMESTAMP_ONLY_WHEN_JSON_LOG; S

文档解释Error number: MY-013774; Symbol: ER_WARN_AUDIT_LOG_FORMAT_UNIX_TIMESTAMP_ONLY_WHEN_JSON_LOG; SQLSTATE:
MySQL Error number: MY-013774; Symbol: ER_WARN_AUDIT_LOG_FORMAT_UNIX_TIMESTAMP_ONLY_WHEN_JSON_LOG; S
2023-11-05

编程热搜

目录