XAMPP:MySQL意外关闭了INNODB警告

时间:2016-02-09 11:23:57

标签: mysql xampp innodb

一切都工作正常但突然MySQL停止工作并在启动前意外关闭。我尝试了基于其他堆栈溢出答案的各种解决方案。

  1. 我在ibdata1中删除了C:\xampp\mysql\data并重新启动了XAMPP =未解决
  2. 我删除了所有自定义数据库文件夹,并且只保留了最初安装时尚未解决的文件夹
  3. 错误日志文件说:

    2016-02-09 16:47:08 1430 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.
    160209 16:47:08 [Note] InnoDB: Using mutexes to ref count buffer pool pages
    160209 16:47:08 [Note] InnoDB: The InnoDB memory heap is disabled
    160209 16:47:08 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
    160209 16:47:08 [Note] InnoDB: Memory barrier is not used
    160209 16:47:08 [Note] InnoDB: Compressed tables use zlib 1.2.3
    160209 16:47:08 [Note] InnoDB: Not using CPU crc32 instructions
    160209 16:47:08 [Note] InnoDB: Initializing buffer pool, size = 16.0M
    160209 16:47:08 [Note] InnoDB: Completed initialization of buffer pool
    160209 16:47:08 [Note] InnoDB: The first specified data file C:\xampp\mysql\data\ibdata1 did not exist: a new database to be created!
    160209 16:47:08 [Note] InnoDB: Setting file C:\xampp\mysql\data\ibdata1 size to 10 MB
    160209 16:47:08 [Note] InnoDB: Database physically writes the file full: wait...
    160209 16:47:08 [ERROR] InnoDB: Cannot create C:\xampp\mysql\data\ib_logfile101
    160209 16:47:08 [ERROR] Plugin 'InnoDB' init function returned error.
    160209 16:47:08 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
    160209 16:47:08 [Note] Plugin 'FEEDBACK' is disabled.
    160209 16:47:08 [ERROR] Unknown/unsupported storage engine: InnoDB
    160209 16:47:08 [ERROR] Aborting
    
    160209 16:47:08 [Note] c:\xampp\mysql\bin\mysqld.exe: Shutdown complete
    

1 个答案:

答案 0 :(得分:1)

在不同的论坛上询问后,我找不到任何解决方案。我不得不重新安装,它又发生了。然后我在stackoverflow上遇到了一个答案,即没有以管理员身份启动xampp并将其关闭导致mysql随着时间的推移而损坏。所以转到属性并确保它始终以管理员身份运行。希望其他人找到这背后的原因得到答案。