gpt4 book ai didi

mysql - XAMPP:MySQL 意外关闭,尝试重新安装一切仍然不起作用

转载 作者:行者123 更新时间:2023-11-29 15:37:56 24 4
gpt4 key购买 nike

我已经在 Windows 10 上安装了 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 集群,仍然出现同样的错误,请有人帮忙,我正在构建一个网站,无法真正测试任何东西..SOS

最佳答案

  1. 将配置文件中MySQL的端口更改为3306
  2. 检查是否有其他服务使用 10048
  3. 如果 1 和 2 不起作用,请将您的端口更改为以下列表之一:https://mysqlserverteam.com/mysql-guide-to-ports/

关于mysql - XAMPP:MySQL 意外关闭,尝试重新安装一切仍然不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58039416/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com