XAMPP:即使我更改了MySQL端口,它也被阻止了



最初我让XAMPP与MariaDB一起运行,然后意识到我需要MySQL,所以尝试单独安装MySQL(https://dev.mysql.com/downloads/installer/(,但这变得非常混乱,所以我卸载了所有内容并使用MySQL重新安装XAMPP(https://filehippo.com/download_xampp/(。

但是MySQL一直告诉我它的端口被阻止了。我找不到阻止端口的内容,因此我在my.ini文件以及 XAMPP 服务和端口设置中将其更改为端口:3308(最初端口:3306(。但是我仍然收到错误,所以现在我真的很困惑为什么MySQL拒绝工作。

谁能弄清楚这一点?

MySQL 错误日志:

2018-03-17 13:07:28 1a34 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.
2018-03-17 13:07:28 6708 [Note] InnoDB: innodb_empty_free_list_algorithm has been changed to legacy because of small buffer pool size. In order to use backoff, increase buffer pool at least up to 20MB.
2018-03-17 13:07:28 6708 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2018-03-17 13:07:28 6708 [Note] InnoDB: The InnoDB memory heap is disabled
2018-03-17 13:07:28 6708 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2018-03-17 13:07:28 6708 [Note] InnoDB: _mm_lfence() and _mm_sfence() are used for memory barrier
2018-03-17 13:07:28 6708 [Note] InnoDB: Compressed tables use zlib 1.2.3
2018-03-17 13:07:28 6708 [Note] InnoDB: Using generic crc32 instructions
2018-03-17 13:07:28 6708 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2018-03-17 13:07:28 6708 [Note] InnoDB: Completed initialization of buffer pool
2018-03-17 13:07:28 6708 [Note] InnoDB: Restoring page 0 of tablespace 0
2018-03-17 13:07:28 6708 [Warning] InnoDB: Doublewrite does not have page_no=0 of space: 0
2018-03-17 13:07:28 6708 [ERROR] InnoDB: space header page consists of zero bytes in data file C:xamppmysqldataibdata1
2018-03-17 13:07:28 6708 [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-03-17 13:07:28 6708 [ERROR] Plugin 'InnoDB' init function returned error.
2018-03-17 13:07:28 6708 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2018-03-17 13:07:28 6708 [Note] Plugin 'FEEDBACK' is disabled.
2018-03-17 13:07:28 6708 [ERROR] Unknown/unsupported storage engine: InnoDB
2018-03-17 13:07:28 6708 [ERROR] Aborting
InnoDB: space header page consists of zero bytes in data file C:xamppmysqldataibdata1

它不是端口块,但问题出在文件上。

看起来磁盘已满,没有权限,或者您应该使用 chkdsk。也许文件 ibdata1 已损坏。

相关内容

  • 没有找到相关文章

最新更新