我在XAMPP 7.1.7上的MySQL数据库不再运行了。我尝试了这篇文章MySQL Database won't start in XAMPP Manager-osx中提出的众多解决方案但到目前为止没有运气。这是我尝试过的:
显然我不知道问题是什么,感觉我只是随机尝试我解决的每一个解决方案。
所以我在xamppfiles / var / mysql / [mycomputername] .home.err的日志文件下面发帖。 也许这里有迹象表明问题可能是什么?
2018-04-02 20:05:21 140735637578560 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2018-04-02 20:05:21 140735637578560 [Note] InnoDB: The InnoDB memory heap is disabled
2018-04-02 20:05:21 140735637578560 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2018-04-02 20:05:21 140735637578560 [Note] InnoDB: GCC builtin __sync_synchronize() is used for memory barrier
2018-04-02 20:05:21 140735637578560 [Note] InnoDB: Compressed tables use zlib 1.2.8
2018-04-02 20:05:21 140735637578560 [Note] InnoDB: Using SSE crc32 instructions
2018-04-02 20:05:21 140735637578560 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2018-04-02 20:05:21 140735637578560 [Note] InnoDB: Completed initialization of buffer pool
2018-04-02 20:05:21 140735637578560 [Note] InnoDB: Restoring page 0 of tablespace 0
2018-04-02 20:05:21 140735637578560 [Warning] InnoDB: Doublewrite does not have page_no=0 of space: 0
2018-04-02 20:05:21 140735637578560 [ERROR] InnoDB: space header page consists of zero bytes in data file /Applications/XAMPP/xamppfiles/var/mysql/ibdata1
2018-04-02 20:05:21 140735637578560 [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!
2018-04-02 20:05:21 140735637578560 [ERROR] Plugin 'InnoDB' init function returned error.
2018-04-02 20:05:21 140735637578560 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2018-04-02 20:05:21 140735637578560 [Note] Plugin 'FEEDBACK' is disabled.
2018-04-02 20:05:21 140735637578560 [ERROR] Unknown/unsupported storage engine: InnoDB
2018-04-02 20:05:21 140735637578560 [ERROR] Aborting
2018-04-02 20:05:21 29871 mysqld_safe mysqld from pid file /Applications/XAMPP/xamppfiles/var/mysql/josephs-imac.home.pid ended
任何帮助都将受到高度赞赏: - )