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

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

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

北京

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

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

看不清楚,换张图片

免费获取短信验证码

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: HY000

Message: Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the ‘START SLAVE Syntax’ in the MySQL Manual for more information.

MySQL错误号:MY-010897;错误符号:ER_RPL_REPLICA_INSECURE_CHANGE_SOURCE;SQLSTATE:HY000

错误说明

这是MySQL 10.1.13及更高版本中新增的一个报错符号。该报错提醒MySQL的使用者,避免使用不安全的数据源(source)只能设置证书(certificate)能够保证其安全性。

常见案例

当我们使用MySQL的binlog复制(binlog)功能时,使用的source的地址必须是一个安全可靠的。但是如果我们使用了不安全的数据源去进行binlog复制,就会出现该错误报错。

解决方法

因为该错误报错表明使用了不安全的数据源,在实际部署MySQL binlog复制时,可以避免使用不安全的数据源。比如,可以使用SSL连接。我们需要在master(source)和slave(replica)之间建立SSL连接,配置SSL证书,可以使复制过程更加安全。

另外,还可以使用MySQL安全插件(Firewall/MHA)来保证MySQL复制安全性,但是需要大量的投入,而且可能会对性能带来影响。

此外,可以重启MySQL服务器,重新设置参数SERVER_ID,如果报HY000 [MY-010897] (ER_RPL_REPLICA_INSECURE_CHANGE_SOURCE)错误,重新加载MySQL即可。

总之,为了避免该错误报错,我们可以配置证书,保证MySQL复制的stable保证和安全性,尽可能的合理的利用SSL连接,以保证binlog复制的完整性和准确性。

免责声明:

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

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

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

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

下载Word文档

猜你喜欢

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-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-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-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-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

编程热搜

目录