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

MySQL Error number: 4065; Symbol: ER_CHANGE_REPLICATION_SOURCE_NO_OPTIONS_FOR_GTID_ONLY; SQLSTATE: H

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

北京

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

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

看不清楚,换张图片

免费获取短信验证码

MySQL Error number: 4065; Symbol: ER_CHANGE_REPLICATION_SOURCE_NO_OPTIONS_FOR_GTID_ONLY; SQLSTATE: H

文档解释

Error number: 4065; Symbol: ER_CHANGE_REPLICATION_SOURCE_NO_OPTIONS_FOR_GTID_ONLY; SQLSTATE: HY000

Message: GTID_ONLY cannot be enabled for replication channel ‘%s’. You need GTID_MODE = ON, SOURCE_AUTO_POSITION = 1 and REQUIRE_ROW_FORMAT = 1.

错误说明:

ER_CHANGE_REPLICATION_SOURCE_NO_OPTIONS_FOR_GTID_ONLY是MySQL的一个错误代码,通常代表在更改复制源时没有为GTID模式下的复制操作指定任何选项。此错误消息代码是一个定制MySQL错误,使用库文件在5.7版本开始被引入,但是从MySQL 8.0开始它一直被使用。

常见案例

当复制在MySQL的GTID模式下运行时,MySQL会显示ER_CHANGE_REPLICATION_SOURCE_NO_OPTIONS_FOR_GTID_ONLY错误。这意味着你使用GTID更改复制来源时没有为复制操作指定任何选项,通常是USER或PASSWORD。

解决方法:

要解决ER_CHANGE_REPLICATION_SOURCE_NO_OPTIONS_FOR_GTID_ONLY错误,你需要指定USER和PASSWORD选项来更改复制来源。一种处理这个错误的方法是使用CHANGE MASTER TO语句更改复制源,如下所示:

CHANGE MASTER TO MASTER_HOST = ‘hostname’, MASTER_USER = ‘username’, MASTER_PASSWORD = ‘password’ FOR CHANNEL ‘channel_name’;

另一种处理这个错误的方法是使用MySQL隔离复制系统变量的SET会话命令重新配置复制来源,作为下面的例子:

SET GLOBAL gtid_slave_pos=’hostname:port’;

有一些使用复制源变量来重新指定复制来源的其他方法,可以帮助你解决ER_CHANGE_REPLICATION_SOURCE_NO_OPTIONS_FOR_GTID_ONLY错误。有关更多信息,请参阅MySQL文档。

免责声明:

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

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

MySQL Error number: 4065; Symbol: ER_CHANGE_REPLICATION_SOURCE_NO_OPTIONS_FOR_GTID_ONLY; SQLSTATE: H

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

下载Word文档

猜你喜欢

MySQL Error number: 4065; Symbol: ER_CHANGE_REPLICATION_SOURCE_NO_OPTIONS_FOR_GTID_ONLY; SQLSTATE: H

文档解释Error number: 4065; Symbol: ER_CHANGE_REPLICATION_SOURCE_NO_OPTIONS_FOR_GTID_ONLY; SQLSTATE: HY000Message:
MySQL Error number: 4065; Symbol: ER_CHANGE_REPLICATION_SOURCE_NO_OPTIONS_FOR_GTID_ONLY; SQLSTATE: H
2023-11-05

MySQL Error number: 3993; Symbol: ER_DISABLE_AUTO_POSITION_REQUIRES_ASYNC_RECONNECT_OFF; SQLSTATE: H

文档解释Error number: 3993; Symbol: ER_DISABLE_AUTO_POSITION_REQUIRES_ASYNC_RECONNECT_OFF; SQLSTATE: HY000Message: CHANGE
MySQL Error number: 3993; Symbol: ER_DISABLE_AUTO_POSITION_REQUIRES_ASYNC_RECONNECT_OFF; SQLSTATE: H
2023-11-05

MySQL Error number: 4070; Symbol: ER_CHANGE_REP_SOURCE_GR_CHANNEL_WITH_GTID_MODE_NOT_ON; SQLSTATE: H

文档解释Error number: 4070; Symbol: ER_CHANGE_REP_SOURCE_GR_CHANNEL_WITH_GTID_MODE_NOT_ON; SQLSTATE: HY000Message: When
MySQL Error number: 4070; Symbol: ER_CHANGE_REP_SOURCE_GR_CHANNEL_WITH_GTID_MODE_NOT_ON; SQLSTATE: H
2023-11-05

MySQL Error number: MY-010326; Symbol: ER_AUTHCACHE_CANT_OPEN_AND_LOCK_PRIVILEGE_TABLES; SQLSTATE: H

文档解释Error number: MY-010326; Symbol: ER_AUTHCACHE_CANT_OPEN_AND_LOCK_PRIVILEGE_TABLES; SQLSTATE: HY000Message: Fatal
MySQL Error number: MY-010326; Symbol: ER_AUTHCACHE_CANT_OPEN_AND_LOCK_PRIVILEGE_TABLES; SQLSTATE: H
2023-11-05

MySQL Error number: MY-011600; Symbol: ER_GRP_RPL_CANNOT_EXECUTE_TRANS_WHILE_RECOVERING; SQLSTATE: H

文档解释Error number: MY-011600; Symbol: ER_GRP_RPL_CANNOT_EXECUTE_TRANS_WHILE_RECOVERING; SQLSTATE: HY000Message:
MySQL Error number: MY-011600; Symbol: ER_GRP_RPL_CANNOT_EXECUTE_TRANS_WHILE_RECOVERING; SQLSTATE: H
2023-11-05

MySQL Error number: MY-011712; Symbol: ER_GRP_RPL_SERVER_SET_TO_READ_ONLY_DUE_TO_ERRORS; SQLSTATE: H

文档解释Error number: MY-011712; Symbol: ER_GRP_RPL_SERVER_SET_TO_READ_ONLY_DUE_TO_ERRORS; SQLSTATE: HY000Message: The
MySQL Error number: MY-011712; Symbol: ER_GRP_RPL_SERVER_SET_TO_READ_ONLY_DUE_TO_ERRORS; SQLSTATE: H
2023-11-04

MySQL Error number: MY-013277; Symbol: ER_INNODB_INVALID_INNODB_UNDO_DIRECTORY_LOCATION; SQLSTATE: H

文档解释Error number: MY-013277; Symbol: ER_INNODB_INVALID_INNODB_UNDO_DIRECTORY_LOCATION; SQLSTATE: HY000Message: The
MySQL Error number: MY-013277; Symbol: ER_INNODB_INVALID_INNODB_UNDO_DIRECTORY_LOCATION; SQLSTATE: H
2023-11-05

MySQL Error number: MY-011649; Symbol: ER_GRP_RPL_REQUESTING_NON_MEMBER_SERVER_TO_LEAVE; SQLSTATE: H

文档解释Error number: MY-011649; Symbol: ER_GRP_RPL_REQUESTING_NON_MEMBER_SERVER_TO_LEAVE; SQLSTATE: HY000Message:
MySQL Error number: MY-011649; Symbol: ER_GRP_RPL_REQUESTING_NON_MEMBER_SERVER_TO_LEAVE; SQLSTATE: H
2023-11-05

MySQL Error number: MY-013921; Symbol: ER_COMPONENT_EE_FUNCTION_KEY_LENGTH_OUT_OF_RANGE; SQLSTATE: H

文档解释Error number: MY-013921; Symbol: ER_COMPONENT_EE_FUNCTION_KEY_LENGTH_OUT_OF_RANGE; SQLSTATE: HY000Message: Invalid
MySQL Error number: MY-013921; Symbol: ER_COMPONENT_EE_FUNCTION_KEY_LENGTH_OUT_OF_RANGE; SQLSTATE: H
2023-11-05

MySQL Error number: 3811; Symbol: ER_BINLOG_MASTER_KEY_ROTATION_FAIL_TO_CLEANUP_AUX_KEY; SQLSTATE: H

文档解释Error number: 3811; Symbol: ER_BINLOG_MASTER_KEY_ROTATION_FAIL_TO_CLEANUP_AUX_KEY; SQLSTATE: HY000Message: Failed
MySQL Error number: 3811; Symbol: ER_BINLOG_MASTER_KEY_ROTATION_FAIL_TO_CLEANUP_AUX_KEY; SQLSTATE: H
2023-11-05

MySQL Error number: MY-011557; Symbol: ER_GRP_RPL_ADD_GTID_INFO_WITH_REMOTE_GTID_FAILED; SQLSTATE: H

文档解释Error number: MY-011557; Symbol: ER_GRP_RPL_ADD_GTID_INFO_WITH_REMOTE_GTID_FAILED; SQLSTATE: HY000Message: Unable
MySQL Error number: MY-011557; Symbol: ER_GRP_RPL_ADD_GTID_INFO_WITH_REMOTE_GTID_FAILED; SQLSTATE: H
2023-11-04

MySQL Error number: MY-013494; Symbol: ER_WARN_LOG_PRIVILEGE_CHECKS_USER_DOES_NOT_EXIST; SQLSTATE: H

文档解释Error number: MY-013494; Symbol: ER_WARN_LOG_PRIVILEGE_CHECKS_USER_DOES_NOT_EXIST; SQLSTATE: HY000Message:
MySQL Error number: MY-013494; Symbol: ER_WARN_LOG_PRIVILEGE_CHECKS_USER_DOES_NOT_EXIST; SQLSTATE: H
2023-11-04

MySQL Error number: MY-011336; Symbol: ER_XPLUGIN_FAILED_TO_SWITCH_SECURITY_CTX_TO_ROOT; SQLSTATE: H

文档解释Error number: MY-011336; Symbol: ER_XPLUGIN_FAILED_TO_SWITCH_SECURITY_CTX_TO_ROOT; SQLSTATE: HY000Message: Unable
MySQL Error number: MY-011336; Symbol: ER_XPLUGIN_FAILED_TO_SWITCH_SECURITY_CTX_TO_ROOT; SQLSTATE: H
2023-11-05

MySQL Error number: MY-010702; Symbol: ER_NDB_BINLOG_CANT_INJECT_APPLY_STATUS_WRITE_ROW; SQLSTATE: H

文档解释Error number: MY-010702; Symbol: ER_NDB_BINLOG_CANT_INJECT_APPLY_STATUS_WRITE_ROW; SQLSTATE: HY000Message: NDB
MySQL Error number: MY-010702; Symbol: ER_NDB_BINLOG_CANT_INJECT_APPLY_STATUS_WRITE_ROW; SQLSTATE: H
2023-11-05

MySQL Error number: MY-014000; Symbol: ER_RPL_REPLICA_SOURCE_UUID_HOST_PORT_HAS_CHANGED; SQLSTATE: H

文档解释Error number: MY-014000; Symbol: ER_RPL_REPLICA_SOURCE_UUID_HOST_PORT_HAS_CHANGED; SQLSTATE: HY000Message: The
MySQL Error number: MY-014000; Symbol: ER_RPL_REPLICA_SOURCE_UUID_HOST_PORT_HAS_CHANGED; SQLSTATE: H
2023-11-05

MySQL Error number: MY-013314; Symbol: ER_GRP_RPL_SEND_TRX_SYNC_BEFORE_EXECUTION_FAILED; SQLSTATE: H

文档解释Error number: MY-013314; Symbol: ER_GRP_RPL_SEND_TRX_SYNC_BEFORE_EXECUTION_FAILED; SQLSTATE: HY000Message: Error
MySQL Error number: MY-013314; Symbol: ER_GRP_RPL_SEND_TRX_SYNC_BEFORE_EXECUTION_FAILED; SQLSTATE: H
2023-11-05

MySQL Error number: MY-013762; Symbol: ER_WARN_ADUIT_LOG_MAX_SIZE_AND_PRUNE_SECONDS_LOG; SQLSTATE: H

文档解释Error number: MY-013762; Symbol: ER_WARN_ADUIT_LOG_MAX_SIZE_AND_PRUNE_SECONDS_LOG; SQLSTATE: HY000Message: Both
MySQL Error number: MY-013762; Symbol: ER_WARN_ADUIT_LOG_MAX_SIZE_AND_PRUNE_SECONDS_LOG; SQLSTATE: H
2023-11-05

MySQL Error number: MY-010516; Symbol: ER_NDB_TOO_MANY_CPUS_IN_NDB_RECV_THREAD_CPU_MASK; SQLSTATE: H

文档解释Error number: MY-010516; Symbol: ER_NDB_TOO_MANY_CPUS_IN_NDB_RECV_THREAD_CPU_MASK; SQLSTATE: HY000Message: Trying
MySQL Error number: MY-010516; Symbol: ER_NDB_TOO_MANY_CPUS_IN_NDB_RECV_THREAD_CPU_MASK; SQLSTATE: H
2023-11-05

MySQL Error number: MY-011208; Symbol: ER_AUDIT_LOG_EC_WRITER_FAILED_TO_INIT_ENCRYPTION; SQLSTATE: H

文档解释Error number: MY-011208; Symbol: ER_AUDIT_LOG_EC_WRITER_FAILED_TO_INIT_ENCRYPTION; SQLSTATE: HY000Message: Could
MySQL Error number: MY-011208; Symbol: ER_AUDIT_LOG_EC_WRITER_FAILED_TO_INIT_ENCRYPTION; SQLSTATE: H
2023-11-05

MySQL Error number: MY-011402; Symbol: ER_KEYRING_ENCRYPTED_FILE_INCORRECT_KEYRING_FILE; SQLSTATE: H

文档解释Error number: MY-011402; Symbol: ER_KEYRING_ENCRYPTED_FILE_INCORRECT_KEYRING_FILE; SQLSTATE: HY000Message:
MySQL Error number: MY-011402; Symbol: ER_KEYRING_ENCRYPTED_FILE_INCORRECT_KEYRING_FILE; SQLSTATE: H
2023-11-05

编程热搜

目录