XAMPP:MySQL意外关闭,已尝试重新安装,但仍然无法正常运行

XAMPP:MySQL意外关闭,已尝试重新安装,但仍然无法正常运行,mysql,xampp,Mysql,Xampp,我已经在Windows10上安装了XAMPP,Apache运行得很好,但在运行MySQL时遇到了问题。这是我在XAMPP窗口中遇到的错误: 14:23:51 [mysql] Error: MySQL shutdown unexpectedly. 14:23:51 [mysql] This may be due to a blocked port, missing dependencies, 14:23:51 [mysql] improper privileges, a cr

我已经在Windows10上安装了XAMPP,Apache运行得很好,但在运行MySQL时遇到了问题。这是我在XAMPP窗口中遇到的错误:

14:23:51  [mysql]   Error: MySQL shutdown unexpectedly.
14:23:51  [mysql]   This may be due to a blocked port, missing dependencies, 

14:23:51  [mysql]   improper privileges, a crash, or a shutdown by another method.
14:23:51  [mysql]   Press the Logs button to view error logs and check
14:23:51  [mysql]   the Windows Event Viewer for more clues
14:23:51  [mysql]   If you need more help, copy and post this
14:23:51  [mysql]   entire log window on the forums
这是我在mysql_error.log中看到的:

2019-09-21 14:21:30 2ca4 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.
2019-09-21 14:21:30 11428 [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.

2019-09-21 14:21:30 11428 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2019-09-21 14:21:30 11428 [Note] InnoDB: The InnoDB memory heap is disabled
2019-09-21 14:21:30 11428 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2019-09-21 14:21:30 11428 [Note] InnoDB: _mm_lfence() and _mm_sfence() are used for memory barrier
2019-09-21 14:21:30 11428 [Note] InnoDB: Compressed tables use zlib 1.2.11
2019-09-21 14:21:30 11428 [Note] InnoDB: Using generic crc32 instructions
2019-09-21 14:21:30 11428 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2019-09-21 14:21:30 11428 [Note] InnoDB: Completed initialization of buffer pool
2019-09-21 14:21:30 11428 [Note] InnoDB: Highest supported file format is Barracuda.
2019-09-21 14:21:31 11428 [Note] InnoDB: 128 rollback segment(s) are active.
2019-09-21 14:21:31 11428 [Note] InnoDB: Waiting for purge to start
2019-09-21 14:21:31 11428 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.42-84.2 started; log sequence number 1835037
2019-09-21 14:21:31 8100 [Note] InnoDB: Dumping buffer pool(s) not yet started
2019-09-21 14:21:31 11428 [Note] Plugin 'FEEDBACK' is disabled.
2019-09-21 14:21:31 11428 [Note] Server socket created on IP: '::'.
2019-09-21 14:21:31 11428 [ERROR] Can't start server: Bind on TCP/IP port. Got error: 10048: Only one usage of each socket address (protocol/network address/port) is normally permitted.


2019-09-21 14:21:31 11428 [ERROR] Do you already have another mysqld server running on port: 3306 ?
2019-09-21 14:21:31 11428 [ERROR] Aborting

2019-09-21 14:23:47 2f80 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.
2019-09-21 14:23:47 12160 [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.

2019-09-21 14:23:47 12160 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2019-09-21 14:23:47 12160 [Note] InnoDB: The InnoDB memory heap is disabled
2019-09-21 14:23:47 12160 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2019-09-21 14:23:47 12160 [Note] InnoDB: _mm_lfence() and _mm_sfence() are used for memory barrier
2019-09-21 14:23:47 12160 [Note] InnoDB: Compressed tables use zlib 1.2.11
2019-09-21 14:23:47 12160 [Note] InnoDB: Using generic crc32 instructions
2019-09-21 14:23:47 12160 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2019-09-21 14:23:47 12160 [Note] InnoDB: Completed initialization of buffer pool
2019-09-21 14:23:47 12160 [Note] InnoDB: Highest supported file format is Barracuda.
2019-09-21 14:23:48 12160 [Note] InnoDB: 128 rollback segment(s) are active.
2019-09-21 14:23:48 12160 [Note] InnoDB: Waiting for purge to start
2019-09-21 14:23:48 12160 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.42-84.2 started; log sequence number 1835047
2019-09-21 14:23:49 5728 [Note] InnoDB: Dumping buffer pool(s) not yet started
2019-09-21 14:23:49 12160 [Note] Plugin 'FEEDBACK' is disabled.
2019-09-21 14:23:49 12160 [Note] Server socket created on IP: '::'.
2019-09-21 14:23:49 12160 [ERROR] Can't start server: Bind on TCP/IP port. Got error: 10048: Only one usage of each socket address (protocol/network address/port) is normally permitted.


2019-09-21 14:23:49 12160 [ERROR] Do you already have another mysqld server running on port: 3306 ?
2019-09-21 14:23:49 12160 [ERROR] Aborting
不知道发生了什么重新安装了MySQL服务器这次启用了InnoDB集群仍然是一样的错误,有人请帮助,我正在建立一个网站,不能真正测试任何东西。。求救

  • 将配置文件中MySQL的端口更改为3306
  • 使用10048检查是否有其他服务
  • 如果1和2不起作用,请将端口更改为以下列表之一:

  • 我刚刚卸载了xampp并再次安装,它可以正常工作,不过还是要感谢asnwe