XAMPP MYSQL关闭以及如何恢复传输的文件

时间:2015-06-20 20:48:15

标签: mysql xampp innodb

我有一个名为" znacky"的数据库。我正在使用XAMPP。有一次,MYSQL意外关闭,出于无知,我转到xampp/mysql/data文件夹并复制了我的数据库znacky文件夹,然后卸载了我的xampp(没有复制ib_logfilesibdata

我从znacky文件夹中获取了所有这些数据:

  • admin FRM文件
  • admin IBD file
  • table1 FRM文件
  • table1 IBD文件
  • db.opt OPT文件
  • FTS_0000000000000001f_BEING_DELETED IBD文件
  • FTS_0000000000000001f_BEING_DELETED_CACHE IBD档案
  • FTS_0000000000000001f_CONFIG IBD文件
  • FTS_0000000000000001f_DELETED IBD文件
  • FTS_0000000000000001f_DELETED_CACHE IBD文件

我重新安装了xampp并将znacky文件夹复制粘贴到新的xampp/mysql/data文件夹中。我仍然有MySQL意外关机错误。

我还可以恢复插入数据库数据表的所有数据吗?

这是xampp的mysql中的错误日志:

2015-03-09 14:56:54 4692 [Note] Plugin 'FEDERATED' is disabled.
2015-03-09 14:56:54 1fa4 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.
2015-03-09 14:56:54 4692 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-03-09 14:56:54 4692 [Note] InnoDB: The InnoDB memory heap is disabled
2015-03-09 14:56:54 4692 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2015-03-09 14:56:54 4692 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-03-09 14:56:54 4692 [Note] InnoDB: Not using CPU crc32 instructions
2015-03-09 14:56:54 4692 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2015-03-09 14:56:54 4692 [Note] InnoDB: Completed initialization of buffer pool
2015-03-09 14:56:55 4692 [Note] InnoDB: Highest supported file format is Barracuda.
2015-03-09 14:56:58 4692 [Warning] InnoDB: Resizing redo log from 2*3072 to 2*320 pages, LSN=1625987
2015-03-09 14:56:58 4692 [Warning] InnoDB: Starting to delete and rewrite log files.
2015-03-09 14:56:58 4692 [Note] InnoDB: Setting log file D:\Application\mysql\data\ib_logfile101 size to 5 MB
2015-03-09 14:56:59 4692 [Note] InnoDB: Setting log file D:\Application\mysql\data\ib_logfile1 size to 5 MB
2015-03-09 14:56:59 4692 [Note] InnoDB: Renaming log file D:\Application\mysql\data\ib_logfile101 to D:\Application\mysql\data\ib_logfile0
2015-03-09 14:56:59 4692 [Warning] InnoDB: New log files created, LSN=1625987
2015-03-09 14:56:59 4692 [Note] InnoDB: 128 rollback segment(s) are active.
2015-03-09 14:57:00 4692 [Note] InnoDB: Waiting for purge to start
2015-03-09 14:57:00 4692 [Note] InnoDB: 5.6.16 started; log sequence number 1625987
2015-03-09 14:57:03 4692 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 7e0f7298-c629-11e4-945f-c454448d2ab8.
2015-03-09 14:57:04 4692 [Note] Server hostname (bind-address): '*'; port: 3306
2015-03-09 14:57:04 4692 [Note] IPv6 is available.
2015-03-09 14:57:04 4692 [Note]   - '::' resolves to '::';
2015-03-09 14:57:04 4692 [Note] Server socket created on IP: '::'.
2015-03-09 15:03:15 6480 [Note] Plugin 'FEDERATED' is disabled.
2015-03-09 15:03:17 15e4 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.
2015-03-09 15:03:17 6480 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-03-09 15:03:17 6480 [Note] InnoDB: The InnoDB memory heap is disabled
2015-03-09 15:03:17 6480 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2015-03-09 15:03:17 6480 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-03-09 15:03:17 6480 [Note] InnoDB: Not using CPU crc32 instructions
2015-03-09 15:03:17 6480 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2015-03-09 15:03:17 6480 [Note] InnoDB: Completed initialization of buffer pool
2015-03-09 15:03:18 6480 [Note] InnoDB: Highest supported file format is Barracuda.
2015-03-09 15:03:18 6480 [Note] InnoDB: The log sequence numbers 1625987 and 1625987 in ibdata files do not match the log sequence number 1626134 in the ib_logfiles!

此外,这些文件来自我的znacky文件夹:

  • FTS_0000000000000001f_BEING_DELETED IBD文件,
  • FTS_0000000000000001f_BEING_DELETED_CACHE IBD文件,
  • FTS_0000000000000001f_CONFIG IBD文件,
  • FTS_0000000000000001f_DELETED IBD文件,
  • FTS_0000000000000001f_DELETED_CACHE IBD文件

0 个答案:

没有答案