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日

悬赏问题

  • ¥20 wireshark抓不到vlan
  • ¥20 关于#stm32#的问题:需要指导自动酸碱滴定仪的原理图程序代码及仿真
  • ¥20 设计一款异域新娘的视频相亲软件需要哪些技术支持
  • ¥15 stata安慰剂检验作图但是真实值不出现在图上
  • ¥15 c程序不知道为什么得不到结果
  • ¥40 复杂的限制性的商函数处理
  • ¥15 程序不包含适用于入口点的静态Main方法
  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来