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

MySQL Error number: MY-010661; Symbol: ER_NDB_BINLOG_USING_SERVER_ID_0_SLAVES_WILL_NOT; SQLSTATE: HY

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

北京

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

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

看不清楚,换张图片

免费获取短信验证码

MySQL Error number: MY-010661; Symbol: ER_NDB_BINLOG_USING_SERVER_ID_0_SLAVES_WILL_NOT; SQLSTATE: HY

文档解释

Error number: MY-010661; Symbol: ER_NDB_BINLOG_USING_SERVER_ID_0_SLAVES_WILL_NOT; SQLSTATE: HY000

Message: NDB: server id set to zero – changes logged to bin log with server id zero will be logged with another server id by slave mysqlds

错误说明

MY-010661,常见的ER_NDB_BINLOG_USING_SERVER_ID_0_SLAVES_WILL_NOT错误是MySQL中出现的一道编程错误,该错误返回一个SQLSTATE(HY000),该错误会引起特定副本不能连接到数据库服务器。当使用传统MySQL复制时,该错误会被产生,指示服务器初始化在母服务器上而没有指定一个服务器ID。

常见案例

最常见的案例发生在一个多节点MySQL集群的情况下。这里,如果将任何一个节点重新启动,在这个结点上,ER_NDB_BINLOG_USING_SERVER_ID_0_SLAVES_WILL_NOT错误将会出现并中断复制进程。在传统MySQL复制中,服务器ID必须被正确指定,否则可能产生这个错误。

另外,一种常见的情况是,未在关闭主服务器时指定一个服务器ID。如果没有指定服务器ID,则复制过程不会正常运行,并可能引起ER_NDB_BINLOG_USING_SERVER_ID_0_SLAVES_WILL_NOT错误。

解决方法

如果是MySQL在多节点结构中出现ER_NDB_BINLOG_USING_SERVER_ID_0_SLAVES_WILL_NOT错误,将必须重新启动节点,并在该节点上指定一个唯一的服务器ID。首先,应在MySQL配置文件(my.cnf或my.ini)中设置一个唯一的服务器ID,例如:

server_id = ######

server-id = ######

然后,重新启动服务器即可解决上述问题。

如果在传统的MySQL复制中出现这个错误,请首先检查母服务器和从属服务器上的配置文件,并确保它们都有一个唯一的服务器ID,两者的服务器ID不能相同。此外,最好在重置服务器ID前将复制停止,以避免混乱和数据不一致问题。一旦所有服务器上有一个唯一的服务器ID,复制可以被重新连接,并且不应再出现ER_NDB_BINLOG_USING_SERVER_ID_0_SLAVES_WILL_NOT错误。

免责声明:

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

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

MySQL Error number: MY-010661; Symbol: ER_NDB_BINLOG_USING_SERVER_ID_0_SLAVES_WILL_NOT; SQLSTATE: HY

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

下载Word文档

猜你喜欢

MySQL Error number: MY-010661; Symbol: ER_NDB_BINLOG_USING_SERVER_ID_0_SLAVES_WILL_NOT; SQLSTATE: HY

文档解释Error number: MY-010661; Symbol: ER_NDB_BINLOG_USING_SERVER_ID_0_SLAVES_WILL_NOT; SQLSTATE: HY000Message: NDB:
MySQL Error number: MY-010661; Symbol: ER_NDB_BINLOG_USING_SERVER_ID_0_SLAVES_WILL_NOT; SQLSTATE: HY
2023-11-05

MySQL Error number: MY-011602; Symbol: ER_GRP_RPL_CANNOT_EXECUTE_TRANS_IN_OFFLINE_MODE; SQLSTATE: HY

文档解释Error number: MY-011602; Symbol: ER_GRP_RPL_CANNOT_EXECUTE_TRANS_IN_OFFLINE_MODE; SQLSTATE: HY000Message:
MySQL Error number: MY-011602; Symbol: ER_GRP_RPL_CANNOT_EXECUTE_TRANS_IN_OFFLINE_MODE; SQLSTATE: HY
2023-11-05

MySQL Error number: MY-011693; Symbol: ER_GRP_RPL_FORCE_MEMBERS_SET_UPDATE_NOT_ALLOWED; SQLSTATE: HY

文档解释Error number: MY-011693; Symbol: ER_GRP_RPL_FORCE_MEMBERS_SET_UPDATE_NOT_ALLOWED; SQLSTATE: HY000Message:
MySQL Error number: MY-011693; Symbol: ER_GRP_RPL_FORCE_MEMBERS_SET_UPDATE_NOT_ALLOWED; SQLSTATE: HY
2023-11-05

MySQL Error number: MY-013107; Symbol: ER_GRP_RPL_LOWER_CASE_TABLE_NAMES_DIFF_FROM_GRP; SQLSTATE: HY

文档解释Error number: MY-013107; Symbol: ER_GRP_RPL_LOWER_CASE_TABLE_NAMES_DIFF_FROM_GRP; SQLSTATE: HY000Message: The
MySQL Error number: MY-013107; Symbol: ER_GRP_RPL_LOWER_CASE_TABLE_NAMES_DIFF_FROM_GRP; SQLSTATE: HY
2023-11-05

MySQL Error number: MY-010975; Symbol: ER_FAILED_TO_ALLOCATE_MEMORY_FOR_RESOURCE_GROUP; SQLSTATE: HY

文档解释Error number: MY-010975; Symbol: ER_FAILED_TO_ALLOCATE_MEMORY_FOR_RESOURCE_GROUP; SQLSTATE: HY000Message: Unable to
MySQL Error number: MY-010975; Symbol: ER_FAILED_TO_ALLOCATE_MEMORY_FOR_RESOURCE_GROUP; SQLSTATE: HY
2023-11-05

MySQL Error number: MY-013904; Symbol: ER_IB_MSG_LOG_FILE_UNUSED_MARK_AS_IN_USE_FAILED; SQLSTATE: HY

文档解释Error number: MY-013904; Symbol: ER_IB_MSG_LOG_FILE_UNUSED_MARK_AS_IN_USE_FAILED; SQLSTATE: HY000Message: Failed to
MySQL Error number: MY-013904; Symbol: ER_IB_MSG_LOG_FILE_UNUSED_MARK_AS_IN_USE_FAILED; SQLSTATE: HY
2023-11-05

MySQL Error number: MY-010603; Symbol: ER_RPL_RELAY_LOG_INDEX_NEEDS_FILE_NOT_DIRECTORY; SQLSTATE: HY

文档解释Error number: MY-010603; Symbol: ER_RPL_RELAY_LOG_INDEX_NEEDS_FILE_NOT_DIRECTORY; SQLSTATE: HY000Message: Path %s
MySQL Error number: MY-010603; Symbol: ER_RPL_RELAY_LOG_INDEX_NEEDS_FILE_NOT_DIRECTORY; SQLSTATE: HY
2023-11-05

MySQL Error number: MY-010841; Symbol: ER_BINLOG_PURGE_LOGS_CANT_COPY_TO_REGISTER_FILE; SQLSTATE: HY

文档解释Error number: MY-010841; Symbol: ER_BINLOG_PURGE_LOGS_CANT_COPY_TO_REGISTER_FILE; SQLSTATE: HY000Message:
MySQL Error number: MY-010841; Symbol: ER_BINLOG_PURGE_LOGS_CANT_COPY_TO_REGISTER_FILE; SQLSTATE: HY
2023-11-05

MySQL Error number: MY-011740; Symbol: ER_LDAP_AUTH_FAILED_TO_CREATE_OR_GET_CONNECTION; SQLSTATE: HY

文档解释Error number: MY-011740; Symbol: ER_LDAP_AUTH_FAILED_TO_CREATE_OR_GET_CONNECTION; SQLSTATE: HY000Message: LDAP
MySQL Error number: MY-011740; Symbol: ER_LDAP_AUTH_FAILED_TO_CREATE_OR_GET_CONNECTION; SQLSTATE: HY
2023-11-05

MySQL Error number: MY-011318; Symbol: ER_XPLUGIN_UNEXPECTED_MSG_DURING_AUTHENTICATION; SQLSTATE: HY

文档解释Error number: MY-011318; Symbol: ER_XPLUGIN_UNEXPECTED_MSG_DURING_AUTHENTICATION; SQLSTATE: HY000Message: %s:
MySQL Error number: MY-011318; Symbol: ER_XPLUGIN_UNEXPECTED_MSG_DURING_AUTHENTICATION; SQLSTATE: HY
2023-11-05

MySQL Error number: MY-010464; Symbol: ER_RPL_BINLOG_SKIPPING_REMAINING_HEARTBEAT_INFO; SQLSTATE: HY

文档解释Error number: MY-010464; Symbol: ER_RPL_BINLOG_SKIPPING_REMAINING_HEARTBEAT_INFO; SQLSTATE: HY000Message: the rest
MySQL Error number: MY-010464; Symbol: ER_RPL_BINLOG_SKIPPING_REMAINING_HEARTBEAT_INFO; SQLSTATE: HY
2023-11-05

MySQL Error number: MY-013939; Symbol: ER_RES_GRP_SWITCH_FAILED_COULD_NOT_ACQUIRE_LOCK; SQLSTATE: HY

文档解释Error number: MY-013939; Symbol: ER_RES_GRP_SWITCH_FAILED_COULD_NOT_ACQUIRE_LOCK; SQLSTATE: HY000Message: Failed to
MySQL Error number: MY-013939; Symbol: ER_RES_GRP_SWITCH_FAILED_COULD_NOT_ACQUIRE_LOCK; SQLSTATE: HY
2023-11-05

MySQL Error number: MY-011350; Symbol: ER_XPLUGIN_CAPABILITY_CLIENT_INTERACTIVE_FAILED; SQLSTATE: HY

文档解释Error number: MY-011350; Symbol: ER_XPLUGIN_CAPABILITY_CLIENT_INTERACTIVE_FAILED; SQLSTATE: HY000Message:
MySQL Error number: MY-011350; Symbol: ER_XPLUGIN_CAPABILITY_CLIENT_INTERACTIVE_FAILED; SQLSTATE: HY
2023-11-05

MySQL Error number: MY-010585; Symbol: ER_RPL_SLAVE_ERROR_LOADING_USER_DEFINED_LIBRARY; SQLSTATE: HY

文档解释Error number: MY-010585; Symbol: ER_RPL_SLAVE_ERROR_LOADING_USER_DEFINED_LIBRARY; SQLSTATE: HY000Message: Error
MySQL Error number: MY-010585; Symbol: ER_RPL_SLAVE_ERROR_LOADING_USER_DEFINED_LIBRARY; SQLSTATE: HY
2023-11-05

MySQL Error number: MY-010718; Symbol: ER_RPL_ERROR_WRITING_SLAVE_WORKER_CONFIGURATION; SQLSTATE: HY

文档解释Error number: MY-010718; Symbol: ER_RPL_ERROR_WRITING_SLAVE_WORKER_CONFIGURATION; SQLSTATE: HY000Message: Error
MySQL Error number: MY-010718; Symbol: ER_RPL_ERROR_WRITING_SLAVE_WORKER_CONFIGURATION; SQLSTATE: HY
2023-11-05

MySQL Error number: MY-010542; Symbol: ER_RPL_MTS_RECOVERY_FAILED_TO_START_COORDINATOR; SQLSTATE: HY

文档解释Error number: MY-010542; Symbol: ER_RPL_MTS_RECOVERY_FAILED_TO_START_COORDINATOR; SQLSTATE: HY000Message: MTS
MySQL Error number: MY-010542; Symbol: ER_RPL_MTS_RECOVERY_FAILED_TO_START_COORDINATOR; SQLSTATE: HY
2023-11-05

MySQL Error number: MY-013605; Symbol: ER_IB_CANNOT_UPGRADE_WITH_DISCARDED_TABLESPACES; SQLSTATE: HY

文档解释Error number: MY-013605; Symbol: ER_IB_CANNOT_UPGRADE_WITH_DISCARDED_TABLESPACES; SQLSTATE: HY000Message: Upgrade
MySQL Error number: MY-013605; Symbol: ER_IB_CANNOT_UPGRADE_WITH_DISCARDED_TABLESPACES; SQLSTATE: HY
2023-11-05

MySQL Error number: MY-010717; Symbol: ER_RPL_ERROR_READING_SLAVE_WORKER_CONFIGURATION; SQLSTATE: HY

文档解释Error number: MY-010717; Symbol: ER_RPL_ERROR_READING_SLAVE_WORKER_CONFIGURATION; SQLSTATE: HY000Message: Error
MySQL Error number: MY-010717; Symbol: ER_RPL_ERROR_READING_SLAVE_WORKER_CONFIGURATION; SQLSTATE: HY
2023-11-05

MySQL Error number: MY-011803; Symbol: ER_LDAP_AUTH_FAILED_TO_ESTABLISH_TLS_CONNECTION; SQLSTATE: HY

文档解释Error number: MY-011803; Symbol: ER_LDAP_AUTH_FAILED_TO_ESTABLISH_TLS_CONNECTION; SQLSTATE: HY000Message: Failed to
MySQL Error number: MY-011803; Symbol: ER_LDAP_AUTH_FAILED_TO_ESTABLISH_TLS_CONNECTION; SQLSTATE: HY
2023-11-05

MySQL Error number: MY-010311; Symbol: ER_AUTHCACHE_PROXIES_PRIV_SKIPPED_NEEDS_RESOLVE; SQLSTATE: HY

文档解释Error number: MY-010311; Symbol: ER_AUTHCACHE_PROXIES_PRIV_SKIPPED_NEEDS_RESOLVE; SQLSTATE: HY000Message:
MySQL Error number: MY-010311; Symbol: ER_AUTHCACHE_PROXIES_PRIV_SKIPPED_NEEDS_RESOLVE; SQLSTATE: HY
2023-11-05

编程热搜

目录