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

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

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

北京

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

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

看不清楚,换张图片

免费获取短信验证码

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

Message: Failed to trim the crashed binlog file when source server is recovering it.

错误说明:

MY-010857 是MySQL 中定义的一个错误,也称为ER_BINLOG_CANT_TRIM_CRASHED_BINLOG 或HY000,它是MySQL数据库服务器的一个用户可以在运行SQL语句时收到的错误代码,它指出MySQL服务器在尝试清除出点崩溃日志时无法完成操作,服务器被迫停止运行。

常见案例

MySQL服务器上出现该错误的常见原因是Binlog日志文件已损坏,无法释放必要的空间。当一个事务以失败告终时,MySQL会尝试将该文件从binlog日志文件中移除,但如果binlog日志文件已损坏,MySQL不会成功,于是它会生成此错误。此外,该错误还可能是由于磁盘空间不足导致的,例如在没有足够的空间可用于创建临时文件的情况下,MySQL将无法减少Binlog日志文件的大小。

解决方法:

一般处理方法及步骤

1. 停止MySQL服务,确保MySQL服务是停止状态;

2. 执行“mysqlbinlog”命令可以分析binlog文件;

3. 根据从上述命令输出的结果,清理文件,并使用“rm”命令清空日志文件;

4. 检查binlog文件中的长度,可以将Binlog日志文件削减到需要的大小;

5. 完成上述步骤后,启动MySQL服务。

如果以上方法未能解决该问题,那么可以尝试以下另外一种方法:

1. 使用“mysqldump –flush-logs”命令将Binlog日志文件的内容导出到新的binlog文件中;

2. 删除原先的binlog文件;

3. 重新启动MySQL服务。

以上两种方法完成后,MySQL服务器就可以正常工作并支持事务复制了。

免责声明:

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

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

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

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

下载Word文档

猜你喜欢

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

编程热搜

目录