我最近在我的计算机中感染了病毒,不得不重新安装Windows。幸运的是我把所有东西放在单独的硬盘驱动器上,所以我认为只是重新格式化并再次启动XAMPP。但显然这并不容易,我在尝试启动MySQL时不断收到此错误信息
2014-04-18 10:26:35 3200 [Note] Plugin 'FEDERATED' is disabled.
2014-04-18 10:26:35 bb4 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2014-04-18 10:26:35 3200 [Note] InnoDB: The InnoDB memory heap is disabled
2014-04-18 10:26:35 3200 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2014-04-18 10:26:35 3200 [Note] InnoDB: Compressed tables use zlib 1.2.3
2014-04-18 10:26:35 3200 [Note] InnoDB: Not using CPU crc32 instructions
2014-04-18 10:26:35 3200 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2014-04-18 10:26:35 3200 [Note] InnoDB: Completed initialization of buffer pool
2014-04-18 10:26:43 3200 [Note] InnoDB: Highest supported file format is Barracuda.
2014-04-18 10:26:45 bb4 InnoDB: Operating system error number 1117 in a file operation.
InnoDB: Some operating system error numbers are described at
InnoDB: http://dev.mysql.com/doc/refman/5.6/en/operating-system-error-codes.html
2014-04-18 10:26:45 3200 [ERROR] InnoDB: File D:\xampp\mysql\data\ib_logfile0: 'Windows aio' returned OS error 1217. Cannot continue operation
我该怎么做才能解决这个问题?我不想丢失MySQL服务器中的数据。
答案 0 :(得分:0)
请测试这个方法,将mysql / data / ibdata1复制到另一个地方,如果windows无法复制该文件,这意味着文件因不需要的windows shutdown.so ibdata1 i / o错误而发生错误。你simlpy必须在xampp驱动器上运行Windows驱动器错误检查。 windows自动恢复你的ibdata1文件。