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

MySQL Error number: MY-010604; Symbol: ER_RPL_PLEASE_USE_OPTION_RELAY_LOG; SQLSTATE: HY000 报错 故障修复

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

北京

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

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

看不清楚,换张图片

免费获取短信验证码

MySQL Error number: MY-010604; Symbol: ER_RPL_PLEASE_USE_OPTION_RELAY_LOG; SQLSTATE: HY000  报错 故障修复

文档解释

Error number: MY-010604; Symbol: ER_RPL_PLEASE_USE_OPTION_RELAY_LOG; SQLSTATE: HY000

Message: Neither –relay-log nor –relay-log-index were used; so replication may break when this MySQL server acts as a replica and has his hostname changed!! Please use ‘–relay-log=%s’ to avoid this problem.

错误说明:

ER_RPL_PLEASE_USE_OPTION_RELAY_LOG错误是 MySQL 运行时在复制模式下抛出的一个错误,这个错误代表当前的 master 服务器未创建一个可以发送给 slave 服务器的 binlog cache,导致 slave 无法追踪 master。这种情况一般是由于 –log-bin 的可用模式下创建 binlog 缓存而触发的(–log-bin=ON),而在非可用模式(–log-bin=OFF)下就不会产生这个错误。

常见案例

在某些情况中,可以看到这个错误。当安装 MySQL Slave 节点,并且在启动 Slave 之前它一定要更新它所维护的复制模式但是这时候 Master 的 –log-bin 却是 OFF,这时候就会出现这个错误。当设置 –log-bin 为 ON 时,可以解决这个问题

解决方案:

这个问题的解决方法也相当简单。当你遇到这个错误时,只需要在 Master 或 Slave 服务器上修改参数 –log-bin 为 ON 即可解决。

在 MySQL 主机上,使用任何一种可以访问 MySQL 的方法,将参数 log-bin 设置为 ON,并重新启动 MySQL 就可以解决问题了。可以使用以下 SET 指令来执行:

SET GLOBAL log_bin=ON;

当这样的更改配置,重新启动MySQL,复制模式就能开始工作了。

免责声明:

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

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

MySQL Error number: MY-010604; Symbol: ER_RPL_PLEASE_USE_OPTION_RELAY_LOG; SQLSTATE: HY000 报错 故障修复

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

下载Word文档

猜你喜欢

MySQL Error number: MY-010604; Symbol: ER_RPL_PLEASE_USE_OPTION_RELAY_LOG; SQLSTATE: HY000 报错 故障修复

文档解释Error number: MY-010604; Symbol: ER_RPL_PLEASE_USE_OPTION_RELAY_LOG; SQLSTATE: HY000Message: Neither --relay-log
MySQL Error number: MY-010604; Symbol: ER_RPL_PLEASE_USE_OPTION_RELAY_LOG; SQLSTATE: HY000  报错 故障修复
2023-11-05

MySQL Error number: MY-011289; Symbol: ER_XPLUGIN_DETECTED_HANGING_CLIENTS; SQLSTATE: HY000 报错 故障修复

文档解释Error number: MY-011289; Symbol: ER_XPLUGIN_DETECTED_HANGING_CLIENTS; SQLSTATE: HY000Message: Detected %u hanging
MySQL Error number: MY-011289; Symbol: ER_XPLUGIN_DETECTED_HANGING_CLIENTS; SQLSTATE: HY000  报错 故障修复
2023-11-04

MySQL Error number: MY-010897; Symbol: ER_RPL_SLAVE_INSECURE_CHANGE_MASTER; SQLSTATE: HY000 报错 故障修复

文档解释Error number: MY-010897; Symbol: ER_RPL_SLAVE_INSECURE_CHANGE_MASTER; SQLSTATE: HY000Message: Storing MySQL user
MySQL Error number: MY-010897; Symbol: ER_RPL_SLAVE_INSECURE_CHANGE_MASTER; SQLSTATE: HY000  报错 故障修复
2023-11-05

MySQL Error number: MY-013887; Symbol: ER_IB_MSG_LOG_FILES_RESIZE_FINISHED; SQLSTATE: HY000 报错 故障修复

文档解释Error number: MY-013887; Symbol: ER_IB_MSG_LOG_FILES_RESIZE_FINISHED; SQLSTATE: HY000Message: Redo log has been
MySQL Error number: MY-013887; Symbol: ER_IB_MSG_LOG_FILES_RESIZE_FINISHED; SQLSTATE: HY000  报错 故障修复
2023-11-05

MySQL Error number: MY-011184; Symbol: ER_SEMISYNC_NOT_SUPPORTED_BY_MASTER; SQLSTATE: HY000 报错 故障修复

文档解释Error number: MY-011184; Symbol: ER_SEMISYNC_NOT_SUPPORTED_BY_MASTER; SQLSTATE: HY000Message: Master server does
MySQL Error number: MY-011184; Symbol: ER_SEMISYNC_NOT_SUPPORTED_BY_MASTER; SQLSTATE: HY000  报错 故障修复
2023-11-05

MySQL Error number: MY-010852; Symbol: ER_BINLOG_FAILED_TO_DELETE_LOG_FILE; SQLSTATE: HY000 报错 故障修复

文档解释Error number: MY-010852; Symbol: ER_BINLOG_FAILED_TO_DELETE_LOG_FILE; SQLSTATE: HY000Message: Failed to delete log
MySQL Error number: MY-010852; Symbol: ER_BINLOG_FAILED_TO_DELETE_LOG_FILE; SQLSTATE: HY000  报错 故障修复
2023-11-05

MySQL Error number: MY-013589; Symbol: ER_IB_MSG_INVALID_LOCATION_WRONG_DB; SQLSTATE: HY000 报错 故障修复

文档解释Error number: MY-013589; Symbol: ER_IB_MSG_INVALID_LOCATION_WRONG_DB; SQLSTATE: HY000Message: Scanned file %s for
MySQL Error number: MY-013589; Symbol: ER_IB_MSG_INVALID_LOCATION_WRONG_DB; SQLSTATE: HY000  报错 故障修复
2023-11-05

MySQL Error number: MY-011810; Symbol: ER_PID_FILE_PRIV_DIRECTORY_INSECURE; SQLSTATE: HY000 报错 故障修复

文档解释Error number: MY-011810; Symbol: ER_PID_FILE_PRIV_DIRECTORY_INSECURE; SQLSTATE: HY000Message: Insecure
MySQL Error number: MY-011810; Symbol: ER_PID_FILE_PRIV_DIRECTORY_INSECURE; SQLSTATE: HY000  报错 故障修复
2023-11-05

MySQL Error number: MY-011515; Symbol: ER_GRP_RPL_DATA_NOT_PROVIDED_BY_MEM; SQLSTATE: HY000 报错 故障修复

文档解释Error number: MY-011515; Symbol: ER_GRP_RPL_DATA_NOT_PROVIDED_BY_MEM; SQLSTATE: HY000Message: Member with address
MySQL Error number: MY-011515; Symbol: ER_GRP_RPL_DATA_NOT_PROVIDED_BY_MEM; SQLSTATE: HY000  报错 故障修复
2023-11-05

MySQL Error number: MY-011262; Symbol: ER_STOP_SLAVE_IO_THREAD_DISK_SPACE; SQLSTATE: HY000 报错 故障修复

文档解释Error number: MY-011262; Symbol: ER_STOP_SLAVE_IO_THREAD_DISK_SPACE; SQLSTATE: HY000Message: Waiting until I/O
MySQL Error number: MY-011262; Symbol: ER_STOP_SLAVE_IO_THREAD_DISK_SPACE; SQLSTATE: HY000  报错 故障修复
2023-11-05

MySQL Error number: MY-010343; Symbol: ER_TABLE_INCOMPATIBLE_DECIMAL_FIELD; SQLSTATE: HY000 报错 故障修复

文档解释Error number: MY-010343; Symbol: ER_TABLE_INCOMPATIBLE_DECIMAL_FIELD; SQLSTATE: HY000Message: Found incompatible
MySQL Error number: MY-010343; Symbol: ER_TABLE_INCOMPATIBLE_DECIMAL_FIELD; SQLSTATE: HY000  报错 故障修复
2023-11-05

MySQL Error number: MY-011788; Symbol: ER_LDAP_AUTH_POOLED_CONNECTION_KEY; SQLSTATE: HY000 报错 故障修复

文档解释Error number: MY-011788; Symbol: ER_LDAP_AUTH_POOLED_CONNECTION_KEY; SQLSTATE: HY000Message:
MySQL Error number: MY-011788; Symbol: ER_LDAP_AUTH_POOLED_CONNECTION_KEY; SQLSTATE: HY000  报错 故障修复
2023-11-05

MySQL Error number: MY-011542; Symbol: ER_GRP_RPL_PRIMARY_KEY_NOT_DEFINED; SQLSTATE: HY000 报错 故障修复

文档解释Error number: MY-011542; Symbol: ER_GRP_RPL_PRIMARY_KEY_NOT_DEFINED; SQLSTATE: HY000Message: Table %s does not have
MySQL Error number: MY-011542; Symbol: ER_GRP_RPL_PRIMARY_KEY_NOT_DEFINED; SQLSTATE: HY000  报错 故障修复
2023-11-05

MySQL Error number: MY-011794; Symbol: ER_LDAP_AUTH_SASL_BIND_SUCCESS_INFO; SQLSTATE: HY000 报错 故障修复

文档解释Error number: MY-011794; Symbol: ER_LDAP_AUTH_SASL_BIND_SUCCESS_INFO; SQLSTATE: HY000Message:
MySQL Error number: MY-011794; Symbol: ER_LDAP_AUTH_SASL_BIND_SUCCESS_INFO; SQLSTATE: HY000  报错 故障修复
2023-11-05

MySQL Error number: MY-013436; Symbol: ER_AUDIT_LOG_CANNOT_STORE_PASSWORD; SQLSTATE: HY000 报错 故障修复

文档解释Error number: MY-013436; Symbol: ER_AUDIT_LOG_CANNOT_STORE_PASSWORD; SQLSTATE: HY000Message: Cannot store password:
MySQL Error number: MY-013436; Symbol: ER_AUDIT_LOG_CANNOT_STORE_PASSWORD; SQLSTATE: HY000  报错 故障修复
2023-11-05

MySQL Error number: MY-013515; Symbol: ER_IB_MSG_FIL_STATE_MOVED_CORRECTED; SQLSTATE: HY000 报错 故障修复

文档解释Error number: MY-013515; Symbol: ER_IB_MSG_FIL_STATE_MOVED_CORRECTED; SQLSTATE: HY000Message: %s DD ID: %llu -
MySQL Error number: MY-013515; Symbol: ER_IB_MSG_FIL_STATE_MOVED_CORRECTED; SQLSTATE: HY000  报错 故障修复
2023-11-05

MySQL Error number: MY-011175; Symbol: ER_SEMISYNC_UNREGISTERED_REPLICATOR; SQLSTATE: HY000 报错 故障修复

文档解释Error number: MY-011175; Symbol: ER_SEMISYNC_UNREGISTERED_REPLICATOR; SQLSTATE: HY000Message: unregister_replicator
MySQL Error number: MY-011175; Symbol: ER_SEMISYNC_UNREGISTERED_REPLICATOR; SQLSTATE: HY000  报错 故障修复
2023-11-05

MySQL Error number: MY-010857; Symbol: ER_BINLOG_CANT_TRIM_CRASHED_BINLOG; SQLSTATE: HY000 报错 故障修复

文档解释Error number: MY-010857; Symbol: ER_BINLOG_CANT_TRIM_CRASHED_BINLOG; SQLSTATE: HY000Message: Failed to trim the
MySQL Error number: MY-010857; Symbol: ER_BINLOG_CANT_TRIM_CRASHED_BINLOG; SQLSTATE: HY000  报错 故障修复
2023-11-05

MySQL Error number: MY-011470; Symbol: ER_GRP_RPL_FETCH_TRANS_SIDNO_ERROR; SQLSTATE: HY000 报错 故障修复

文档解释Error number: MY-011470; Symbol: ER_GRP_RPL_FETCH_TRANS_SIDNO_ERROR; SQLSTATE: HY000Message: Error fetching
MySQL Error number: MY-011470; Symbol: ER_GRP_RPL_FETCH_TRANS_SIDNO_ERROR; SQLSTATE: HY000  报错 故障修复
2023-11-05

MySQL Error number: MY-011134; Symbol: ER_SEMISYNC_PROBE_LOG_INFO_IN_ENTRY; SQLSTATE: HY000 报错 故障修复

文档解释Error number: MY-011134; Symbol: ER_SEMISYNC_PROBE_LOG_INFO_IN_ENTRY; SQLSTATE: HY000Message: %s: probe (%s, %lu)
MySQL Error number: MY-011134; Symbol: ER_SEMISYNC_PROBE_LOG_INFO_IN_ENTRY; SQLSTATE: HY000  报错 故障修复
2023-11-05

编程热搜

目录