XAMPP 7.1.7上的MySQL数据库不再工作

时间:2018-04-02 18:41:38

标签: php mysql macos xampp

我在XAMPP 7.1.7上的MySQL数据库不再运行了。我尝试了这篇文章MySQL Database won't start in XAMPP Manager-osx中提出的众多解决方案但到目前为止没有运气。这是我尝试过的:

  • sudo /Applications/XAMPP/xamppfiles/bin/mysql.server start - > 终端只是简单地说“错误!”
  • sudo killall mysqld - >终端声明“未找到匹配的进程”
  • 在XAMPP控制面板中将MySQL端口从3306更改为3307 - >没有变化
  • 在Monitor Activity工具中删除所有活动的mysql进程 - >找不到任何名为“mysql”或“sql”
  • 的活动进程

显然我不知道问题是什么,感觉我只是随机尝试我解决的每一个解决方案。

所以我在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

任何帮助都将受到高度赞赏: - )

0 个答案:

没有答案