shinena_deng 2020-09-07 11:34 采纳率: 33.3%
浏览 713
已结题

在window server2008 上启动mysql报错:InnoDB: Header page consists of zero bytes in datafile :ibdata1

2020-09-07T11:19:32.951500+08:00 0 [Warning] 'NO_AUTO_CREATE_USER' sql mode was not set.
2020-09-07T11:19:32.951500+08:00 0 [Note] --secure-file-priv is set to NULL. Operations related to importing and exporting data are disabled
2020-09-07T11:19:32.951500+08:00 0 [Note] MySQL (mysqld 5.7.31-log) starting as process 5924 ...
2020-09-07T11:19:32.967125+08:00 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-09-07T11:19:32.967125+08:00 0 [Note] InnoDB: Uses event mutexes
2020-09-07T11:19:32.967125+08:00 0 [Note] InnoDB: _mm_lfence() and _mm_sfence() are used for memory barrier
2020-09-07T11:19:32.967125+08:00 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-09-07T11:19:32.967125+08:00 0 [Note] InnoDB: Number of pools: 1
2020-09-07T11:19:32.967125+08:00 0 [Note] InnoDB: Not using CPU crc32 instructions
2020-09-07T11:19:32.982750+08:00 0 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M
2020-09-07T11:19:33.014000+08:00 0 [Note] InnoDB: Completed initialization of buffer pool
2020-09-07T11:19:33.029625+08:00 0 [ERROR] InnoDB: Header page consists of zero bytes in datafile:xxx\data\ibdata1, Space ID:0, Flags: 0. Please refer to http://dev.mysql.com/doc/refman/5.7/en/innodb-troubleshooting-datadict.html for how to resolve the issue.
2020-09-07T11:19:33.029625+08:00 0 [ERROR] InnoDB: Corrupted page [page id: space=0, page number=0] of datafile 'xxx\data\ibdata1' could not be found in the doublewrite buffer.
2020-09-07T11:19:33.029625+08:00 0 [ERROR] InnoDB: Plugin initialization aborted with error Data structure corruption
2020-09-07T11:19:33.357750+08:00 0 [ERROR] Plugin 'InnoDB' init function returned error.
2020-09-07T11:19:33.357750+08:00 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2020-09-07T11:19:33.357750+08:00 0 [ERROR] Failed to initialize builtin plugins.
2020-09-07T11:19:33.357750+08:00 0 [ERROR] Aborting

2020-09-07T11:19:33.357750+08:00 0 [Note] Binlog end
2020-09-07T11:19:33.357750+08:00 0 [Note] Shutting down plugin 'CSV'
2020-09-07T11:19:33.373375+08:00 0 [Note] MySQL: Shutdown complete

已经试过删掉ibdata1,重新初始化数据库、再重新启动,依然还是报同样的错误,请问有遇到同样问题的吗?

  • 写回答

1条回答 默认 最新

  • threenewbee 2020-09-07 13:16
    关注
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

问题事件

  • 已结题 (查看结题原因) 1月12日
  • 已采纳回答 1月12日

悬赏问题

  • ¥15 用ns3仿真出5G核心网网元
  • ¥15 matlab答疑 关于海上风电的爬坡事件检测
  • ¥88 python部署量化回测异常问题
  • ¥30 酬劳2w元求合作写文章
  • ¥15 在现有系统基础上增加功能
  • ¥15 远程桌面文档内容复制粘贴,格式会变化
  • ¥15 这种微信登录授权 谁可以做啊
  • ¥15 请问我该如何添加自己的数据去运行蚁群算法代码
  • ¥20 用HslCommunication 连接欧姆龙 plc有时会连接失败。报异常为“未知错误”
  • ¥15 网络设备配置与管理这个该怎么弄