Windows关闭后,我无法在xampp上运行mysql

时间:2015-05-26 02:29:41

标签: mysql apache xampp

我在启动mysql(xampp)时遇到了问题。在我的Windows关闭后,mysql无法运行。

我认为问题是因为某些文件在Windows关闭之前未完成。但我不知道文件在哪里。或者可能是另一个问题?

虽然apache也无法运行。请帮忙

任何人都可以帮助解决这个问题



Error messages picture



错误消息

2015-05-25 21:42:44 3776 [Note] Plugin 'FEDERATED' is disabled.

2015-05-25 21:42:44 c78 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-05-25 21:42:44 3776 [Note] InnoDB: Using atomics to ref count buffer pool pages


2015-05-25 21:42:44 3776 [Note] InnoDB: The InnoDB memory heap is disabled

2015-05-25 21:42:44 3776 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions

2015-05-25 21:42:44 3776 [Note] InnoDB: Memory barrier is not used

2015-05-25 21:42:44 3776 [Note] InnoDB: Compressed tables use zlib 1.2.3

2015-05-25 21:42:44 3776 [Note] InnoDB: Not using CPU crc32 instructions

2015-05-25 21:42:44 3776 [Note] InnoDB: Initializing buffer pool, size = 16.0M

2015-05-25 21:42:44 3776 [Note] InnoDB: Completed initialization of buffer pool

2015-05-25 21:42:45 3776 [Note] InnoDB: Highest supported file format is Barracuda.

2015-05-25 21:42:45 3776 [Note] InnoDB: Log scan progressed past the checkpoint lsn 17355383

2015-05-25 21:42:45 3776 [Note] InnoDB: Database was not shutdown normally!

2015-05-25 21:42:45 3776 [Note] InnoDB: Starting crash recovery.

2015-05-25 21:42:45 3776 [Note] InnoDB: Reading tablespace information from the .ibd files...

2015-05-25 21:42:47 3776 [Note] InnoDB: Restoring possible half-written data pages 

2015-05-25 21:42:47 3776 [Note] InnoDB: from the doublewrite buffer...
InnoDB: Doing recovery: scanned up to log sequence number 17355393

2015-05-25 21:42:49 3776 [Note] InnoDB: 128 rollback segment(s) are active.

2015-05-25 21:42:49 3776 [Note] InnoDB: Waiting for purge to start

2015-05-25 21:42:49 3776 [Note] InnoDB: 5.6.20 started; log sequence number 17355393

2015-05-25 21:42:49 3776 [Note] Server hostname (bind-address): '*'; port: 3306

2015-05-25 21:42:49 3776 [Note] IPv6 is available.

2015-05-25 21:42:49 3776 [Note]   - '::' resolves to '::';

2015-05-25 21:42:49 3776 [Note] Server socket created on IP: '::'.

2 个答案:

答案 0 :(得分:0)

不知道为什么会出现这个问题。但要解决这个问题,您可以:

  1. 获取xampp>的备份htdocsxampp> mysql>远离data文件夹的其他位置的xampp个文件夹。
  2. 卸载xampp并重新安装。
  3. 将复制的文件夹htdocsdata替换为新安装的xampp文件夹的相应文件夹。
  4. 现在,您可以投放apachemysql

答案 1 :(得分:0)

请试试这个:

  1. 退出Xampp服务器
  2. 转到您的C:\ xampp \ mysql \ data
  3. 删除ibdata1文件
  4. 重新启动xampp服务器
  5. 确保在此过程中skype未运行。

    应该有效