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

MySQL Error number: MY-010421; Symbol: ER_RPL_FAILED_TO_RESET_STATE_IN_SLAVE_INFO_REPOSITORY; SQLSTA

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

北京

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

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

看不清楚,换张图片

免费获取短信验证码

MySQL Error number: MY-010421; Symbol: ER_RPL_FAILED_TO_RESET_STATE_IN_SLAVE_INFO_REPOSITORY; SQLSTA

文档解释

Error number: MY-010421; Symbol: ER_RPL_FAILED_TO_RESET_STATE_IN_SLAVE_INFO_REPOSITORY; SQLSTATE: HY000

Message: Could not store the reset Slave Worker state into the slave info repository.

错误说明

MY-010421:ER_RPL_FAILED_TO_RESET_STATE_IN_SLAVE_INFO_REPOSITORY错误指示在在从库信息存储库中重置状态时失败。 将影响MySQL复制行为。此错误是由MySQL5.5及更高版本的二进制格式引起的。

常见案例

该错误通常会在使用REPLACE INTO功能时出现,即将新记录插入到存在字段冲突的旧记录中。另外,当尝试替换表行时会引起此错误,其假设有一个记录已经存在具有旧值,并且假设将其替换为新值。

解决方法

1. 检查查询,确保它不是使用REPLACE INTO或在已经存在的表行中简单地更新记录,而是使用INSERT INTO … ON DUPLICATE KEY UPDATE。

2. 检查复制用户权限,确保复制用户可以访问所有所需的表和列(确保拥有SELECT;DELETE;INSERT;UPDAT及 RELOAD权限)。

3. 检查所有复制配置,以确保它们已正确设置。

4. 如果错误仍然存在,可以使用myisamchk工具扫描Slave info存储库,这是复制状态文件,并尝试修复它(最好在备份后操作)。

5. 也可以禁用查询日志,然后再重试复制过程。可以在my.cnf文件中像这样做:log-bin=false。

6. 在替换表行时,可以在同一个事务中尝试在目标表中删除行,然后使用INSERT INTO.. ON DUPLICATE KEY标记将记录插入表中。

7. 如果以上步骤仍然无法解决问题,可以尝试使用INNODB而不是MyISAM,因为MyISAM使用独立

存储套件。启用INNODB可以帮助解决问

免责声明:

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

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

MySQL Error number: MY-010421; Symbol: ER_RPL_FAILED_TO_RESET_STATE_IN_SLAVE_INFO_REPOSITORY; SQLSTA

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

下载Word文档

猜你喜欢

MySQL Error number: MY-010421; Symbol: ER_RPL_FAILED_TO_RESET_STATE_IN_SLAVE_INFO_REPOSITORY; SQLSTA

文档解释Error number: MY-010421; Symbol: ER_RPL_FAILED_TO_RESET_STATE_IN_SLAVE_INFO_REPOSITORY; SQLSTATE: HY000Message:
MySQL Error number: MY-010421; Symbol: ER_RPL_FAILED_TO_RESET_STATE_IN_SLAVE_INFO_REPOSITORY; SQLSTA
2023-11-05

MySQL Error number: MY-010331; Symbol: ER_USER_NOT_IN_EXTRA_USERS_BINLOG_POSSIBLY_INCOMPLETE; SQLSTA

文档解释Error number: MY-010331; Symbol: ER_USER_NOT_IN_EXTRA_USERS_BINLOG_POSSIBLY_INCOMPLETE; SQLSTATE: HY000Message:
MySQL Error number: MY-010331; Symbol: ER_USER_NOT_IN_EXTRA_USERS_BINLOG_POSSIBLY_INCOMPLETE; SQLSTA
2023-11-05

MySQL Error number: MY-013974; Symbol: ER_BULK_PARSER_ROW_BUFFER_MAX_TOTAL_COLS_EXCEEDED_LOG; SQLSTA

文档解释Error number: MY-013974; Symbol: ER_BULK_PARSER_ROW_BUFFER_MAX_TOTAL_COLS_EXCEEDED_LOG; SQLSTATE: HY000Message: The
MySQL Error number: MY-013974; Symbol: ER_BULK_PARSER_ROW_BUFFER_MAX_TOTAL_COLS_EXCEEDED_LOG; SQLSTA
2023-11-05

MySQL Error number: MY-011662; Symbol: ER_GRP_RPL_FAILED_TO_UNREGISTER_SERVER_STATE_OBSERVER; SQLSTA

文档解释Error number: MY-011662; Symbol: ER_GRP_RPL_FAILED_TO_UNREGISTER_SERVER_STATE_OBSERVER; SQLSTATE: HY000Message:
MySQL Error number: MY-011662; Symbol: ER_GRP_RPL_FAILED_TO_UNREGISTER_SERVER_STATE_OBSERVER; SQLSTA
2023-11-05

MySQL Error number: MY-010503; Symbol: ER_NDB_TRAILING_SHARE_RELEASED_BY_CLOSE_CACHED_TABLES; SQLSTA

文档解释Error number: MY-010503; Symbol: ER_NDB_TRAILING_SHARE_RELEASED_BY_CLOSE_CACHED_TABLES; SQLSTATE: HY000Message:
MySQL Error number: MY-010503; Symbol: ER_NDB_TRAILING_SHARE_RELEASED_BY_CLOSE_CACHED_TABLES; SQLSTA
2023-11-05

MySQL Error number: MY-011695; Symbol: ER_GRP_RPL_UNKNOWN_GRP_RPL_APPLIER_PIPELINE_REQUESTED; SQLSTA

文档解释Error number: MY-011695; Symbol: ER_GRP_RPL_UNKNOWN_GRP_RPL_APPLIER_PIPELINE_REQUESTED; SQLSTATE: HY000Message:
MySQL Error number: MY-011695; Symbol: ER_GRP_RPL_UNKNOWN_GRP_RPL_APPLIER_PIPELINE_REQUESTED; SQLSTA
2023-11-04

MySQL Error number: MY-011259; Symbol: ER_SYS_VAR_COMPONENT_FAILED_TO_PARSE_VARIABLE_OPTIONS; SQLSTA

文档解释Error number: MY-011259; Symbol: ER_SYS_VAR_COMPONENT_FAILED_TO_PARSE_VARIABLE_OPTIONS; SQLSTATE: HY000Message:
MySQL Error number: MY-011259; Symbol: ER_SYS_VAR_COMPONENT_FAILED_TO_PARSE_VARIABLE_OPTIONS; SQLSTA
2023-11-05

MySQL Error number: MY-013843; Symbol: ER_PERSISTED_VARIABLES_MASTER_KEY_CANNOT_BE_GENERATED; SQLSTA

文档解释Error number: MY-013843; Symbol: ER_PERSISTED_VARIABLES_MASTER_KEY_CANNOT_BE_GENERATED; SQLSTATE: HY000Message: A
MySQL Error number: MY-013843; Symbol: ER_PERSISTED_VARIABLES_MASTER_KEY_CANNOT_BE_GENERATED; SQLSTA
2023-11-05

MySQL Error number: MY-013787; Symbol: ER_GRP_RPL_FAILOVER_REGISTER_MESSAGE_LISTENER_SERVICE; SQLSTA

文档解释Error number: MY-013787; Symbol: ER_GRP_RPL_FAILOVER_REGISTER_MESSAGE_LISTENER_SERVICE; SQLSTATE: HY000Message:
MySQL Error number: MY-013787; Symbol: ER_GRP_RPL_FAILOVER_REGISTER_MESSAGE_LISTENER_SERVICE; SQLSTA
2023-11-05

MySQL Error number: MY-013692; Symbol: ER_GRP_RPL_GRP_NAME_IS_SAME_AS_ANONYMOUS_TO_GTID_UUID; SQLSTA

文档解释Error number: MY-013692; Symbol: ER_GRP_RPL_GRP_NAME_IS_SAME_AS_ANONYMOUS_TO_GTID_UUID; SQLSTATE: HY000Message: The
MySQL Error number: MY-013692; Symbol: ER_GRP_RPL_GRP_NAME_IS_SAME_AS_ANONYMOUS_TO_GTID_UUID; SQLSTA
2023-11-05

MySQL Error number: MY-010825; Symbol: ER_BINLOG_FAILED_TO_CLOSE_INDEX_FILE_WHILE_REBUILDING; SQLSTA

文档解释Error number: MY-010825; Symbol: ER_BINLOG_FAILED_TO_CLOSE_INDEX_FILE_WHILE_REBUILDING; SQLSTATE: HY000Message:
MySQL Error number: MY-010825; Symbol: ER_BINLOG_FAILED_TO_CLOSE_INDEX_FILE_WHILE_REBUILDING; SQLSTA
2023-11-05

MySQL Error number: MY-010589; Symbol: ER_RPL_SLAVE_QUEUE_EVENT_FAILED_INVALID_CONFIGURATION; SQLSTA

文档解释Error number: MY-010589; Symbol: ER_RPL_SLAVE_QUEUE_EVENT_FAILED_INVALID_CONFIGURATION; SQLSTATE: HY000Message: The
MySQL Error number: MY-010589; Symbol: ER_RPL_SLAVE_QUEUE_EVENT_FAILED_INVALID_CONFIGURATION; SQLSTA
2023-11-05

MySQL Error number: MY-011664; Symbol: ER_GRP_RPL_FAILED_TO_UNREGISTER_BINLOG_STATE_OBSERVER; SQLSTA

文档解释Error number: MY-011664; Symbol: ER_GRP_RPL_FAILED_TO_UNREGISTER_BINLOG_STATE_OBSERVER; SQLSTATE: HY000Message:
MySQL Error number: MY-011664; Symbol: ER_GRP_RPL_FAILED_TO_UNREGISTER_BINLOG_STATE_OBSERVER; SQLSTA
2023-11-04

MySQL Error number: MY-011422; Symbol: ER_KEYRING_AWS_FAILED_TO_ACCESS_OR_CREATE_KEYRING_DIR; SQLSTA

文档解释Error number: MY-011422; Symbol: ER_KEYRING_AWS_FAILED_TO_ACCESS_OR_CREATE_KEYRING_DIR; SQLSTATE: HY000Message:
MySQL Error number: MY-011422; Symbol: ER_KEYRING_AWS_FAILED_TO_ACCESS_OR_CREATE_KEYRING_DIR; SQLSTA
2023-11-05

MySQL Error number: MY-011615; Symbol: ER_GRP_RPL_ERROR_WHILE_WAITING_FOR_CONFLICT_DETECTION; SQLSTA

文档解释Error number: MY-011615; Symbol: ER_GRP_RPL_ERROR_WHILE_WAITING_FOR_CONFLICT_DETECTION; SQLSTATE: HY000Message:
MySQL Error number: MY-011615; Symbol: ER_GRP_RPL_ERROR_WHILE_WAITING_FOR_CONFLICT_DETECTION; SQLSTA
2023-11-05

MySQL Error number: MY-010724; Symbol: ER_BINLOG_OOM_WRITING_DELETE_WHILE_OPENING_HEAP_TABLE; SQLSTA

文档解释Error number: MY-010724; Symbol: ER_BINLOG_OOM_WRITING_DELETE_WHILE_OPENING_HEAP_TABLE; SQLSTATE: HY000Message:
MySQL Error number: MY-010724; Symbol: ER_BINLOG_OOM_WRITING_DELETE_WHILE_OPENING_HEAP_TABLE; SQLSTA
2023-11-05

MySQL Error number: MY-011418; Symbol: ER_KEYRING_AWS_FAILED_TO_ACCESS_KEY_ID_FROM_CONF_FILE; SQLSTA

文档解释Error number: MY-011418; Symbol: ER_KEYRING_AWS_FAILED_TO_ACCESS_KEY_ID_FROM_CONF_FILE; SQLSTATE: HY000Message:
MySQL Error number: MY-011418; Symbol: ER_KEYRING_AWS_FAILED_TO_ACCESS_KEY_ID_FROM_CONF_FILE; SQLSTA
2023-11-05

MySQL Error number: MY-011404; Symbol: ER_KEYRING_ENCRYPTED_FILE_FOUND_MALFORMED_BACKUP_FILE; SQLSTA

文档解释Error number: MY-011404; Symbol: ER_KEYRING_ENCRYPTED_FILE_FOUND_MALFORMED_BACKUP_FILE; SQLSTATE: HY000Message:
MySQL Error number: MY-011404; Symbol: ER_KEYRING_ENCRYPTED_FILE_FOUND_MALFORMED_BACKUP_FILE; SQLSTA
2023-11-05

MySQL Error number: MY-013103; Symbol: ER_BINLOG_ROW_VALUE_OPTION_USED_ONLY_FOR_AFTER_IMAGES; SQLSTA

文档解释Error number: MY-013103; Symbol: ER_BINLOG_ROW_VALUE_OPTION_USED_ONLY_FOR_AFTER_IMAGES; SQLSTATE: HY000Message:
MySQL Error number: MY-013103; Symbol: ER_BINLOG_ROW_VALUE_OPTION_USED_ONLY_FOR_AFTER_IMAGES; SQLSTA
2023-11-05

MySQL Error number: MY-010786; Symbol: ER_NDB_CANT_PARSE_NDB_CLUSTER_CONNECTION_POOL_NODEIDS; SQLSTA

文档解释Error number: MY-010786; Symbol: ER_NDB_CANT_PARSE_NDB_CLUSTER_CONNECTION_POOL_NODEIDS; SQLSTATE: HY000Message:
MySQL Error number: MY-010786; Symbol: ER_NDB_CANT_PARSE_NDB_CLUSTER_CONNECTION_POOL_NODEIDS; SQLSTA
2023-11-05

编程热搜

目录