我已经坚持了好几个小时。 我在Windows上,希望今天早上通过xampp控制面板启动MySql,因为我收到了这个错误:
13:56:56 [mysql] Attempting to start MySQL service...
13:56:57 [mysql] Status change detected: running
13:57:02 [mysql] Status change detected: stopped
13:57:02 [mysql] Error: MySQL shutdown unexpectedly.
13:57:02 [mysql] This may be due to a blocked port, missing dependencies,
13:57:02 [mysql] improper privileges, a crash, or a shutdown by another method.
13:57:02 [mysql] Press the Logs button to view error logs and check
13:57:02 [mysql] the Windows Event Viewer for more clues
13:57:02 [mysql] If you need more help, copy and post this
13:57:02 [mysql] entire log window on the forums
13:57:08 [Apache] Attempting to stop Apache service...
13:57:11 [Apache] Status change detected: stopped
我已尝试过stackoverflow和其他网站上提到的所有其他提议的解决方案。 我有
所有这一切都没有奏效。有没有人有想法? 如果有人指出我正确的方向找到解决方案,我将非常感激。
以下是错误日志:
2015-09-13 13:56:56 3772 [Note] Plugin 'FEDERATED' is disabled.
2015-09-13 13:56:56 23dc 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-09-13 13:56:56 3772 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-09-13 13:56:56 3772 [Note] InnoDB: The InnoDB memory heap is disabled
2015-09-13 13:56:56 3772 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2015-09-13 13:56:56 3772 [Note] InnoDB: Memory barrier is not used
2015-09-13 13:56:56 3772 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-09-13 13:56:56 3772 [Note] InnoDB: Not using CPU crc32 instructions
2015-09-13 13:56:56 3772 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2015-09-13 13:56:56 3772 [Note] InnoDB: Completed initialization of buffer pool
2015-09-13 13:56:56 3772 [Note] InnoDB: The first specified data file C:\xampp\mysql\data\ibdata1 did not exist: a new database to be created!
2015-09-13 13:56:56 3772 [Note] InnoDB: Setting file C:\xampp\mysql\data\ibdata1 size to 10 MB
2015-09-13 13:56:56 3772 [Note] InnoDB: Database physically writes the file full: wait...
2015-09-13 13:56:56 3772 [ERROR] InnoDB: Cannot create C:\xampp\mysql\data\ib_logfile101
2015-09-13 13:56:56 3772 [ERROR] Plugin 'InnoDB' init function returned error.
2015-09-13 13:56:56 3772 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2015-09-13 13:56:56 3772 [ERROR] Unknown/unsupported storage engine: InnoDB
2015-09-13 13:56:56 3772 [ERROR] Aborting
编辑:这是我现在得到的日志:
2015-09-13 16:56:50 5996 [Note] Plugin 'FEDERATED' is disabled.
2015-09-13 16:56:50 fb8 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-09-13 16:56:50 5996 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-09-13 16:56:50 5996 [Note] InnoDB: The InnoDB memory heap is disabled
2015-09-13 16:56:50 5996 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2015-09-13 16:56:50 5996 [Note] InnoDB: Memory barrier is not used
2015-09-13 16:56:50 5996 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-09-13 16:56:50 5996 [Note] InnoDB: Not using CPU crc32 instructions
2015-09-13 16:56:50 5996 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2015-09-13 16:56:50 5996 [Note] InnoDB: Completed initialization of buffer pool
2015-09-13 16:56:50 5996 [Note] InnoDB: Restoring page 0 of tablespace 0
2015-09-13 16:56:50 5996 [Warning] InnoDB: Doublewrite does not have page_no=0 of space: 0
2015-09-13 16:56:50 5996 [ERROR] InnoDB: space header page consists of zero bytes in data file C:\xampp\mysql\data\ibdata1
2015-09-13 16:56:50 5996 [ERROR] InnoDB: Could not open or create the system tablespace. If you tried to add new data files to the system tablespace, and it failed here, you should now edit innodb_data_file_path in my.cnf back to what it was, and remove the new ibdata files InnoDB created in this failed attempt. InnoDB only wrote those files full of zeros, but did not yet use them in any way. But be careful: do not remove old data files which contain your precious data!
2015-09-13 16:56:50 5996 [ERROR] Plugin 'InnoDB' init function returned error.
2015-09-13 16:56:50 5996 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2015-09-13 16:56:50 5996 [ERROR] Unknown/unsupported storage engine: InnoDB
2015-09-13 16:56:50 5996 [ERROR] Aborting
编辑:修复