当前位置: 首页 > 知识库问答 >
问题:

XAMPP-错误:MySQL意外关闭

曹焱
2023-03-14
01:56:03  [mysql]   Error: MySQL shutdown unexpectedly.
01:56:03  [mysql]   This may be due to a blocked port, missing dependencies, 
01:56:03  [mysql]   improper privileges, a crash, or a shutdown by another method.
01:56:03  [mysql]   Check the "/xampp/mysql/data/mysql_error.log" file
01:56:03  [mysql]   and the Windows Event Viewer for more clues
130302  1:48:06  InnoDB: Waiting for the background threads to start
130302  1:48:07 InnoDB: 1.1.8 started; log sequence number 1600324627
130302  1:48:07 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
130302  1:48:07 [Note]   - '0.0.0.0' resolves to '0.0.0.0';
130302  1:48:07 [Note] Server socket created on IP: '0.0.0.0'.
130302  1:51:12 [Note] Plugin 'FEDERATED' is disabled.
130302  1:51:12 InnoDB: The InnoDB memory heap is disabled
130302  1:51:12 InnoDB: Mutexes and rw_locks use Windows interlocked functions
130302  1:51:12 InnoDB: Compressed tables use zlib 1.2.3
130302  1:51:12 InnoDB: Initializing buffer pool, size = 16.0M
130302  1:51:12 InnoDB: Completed initialization of buffer pool
130302  1:51:12 InnoDB: highest supported file format is Barracuda.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
130302  1:51:12  InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
130302  1:51:13  InnoDB: Waiting for the background threads to start
130302  1:51:14 InnoDB: 1.1.8 started; log sequence number 1600324627
130302  1:51:14 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
130302  1:51:14 [Note]   - '0.0.0.0' resolves to '0.0.0.0';
130302  1:51:14 [Note] Server socket created on IP: '0.0.0.0'.
130302  1:56:01 [Note] Plugin 'FEDERATED' is disabled.
130302  1:56:01 InnoDB: The InnoDB memory heap is disabled
130302  1:56:01 InnoDB: Mutexes and rw_locks use Windows interlocked functions
130302  1:56:01 InnoDB: Compressed tables use zlib 1.2.3
130302  1:56:01 InnoDB: Initializing buffer pool, size = 16.0M
130302  1:56:01 InnoDB: Completed initialization of buffer pool
130302  1:56:01 InnoDB: highest supported file format is Barracuda.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
130302  1:56:01  InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
130302  1:56:02  InnoDB: Waiting for the background threads to start
130302  1:56:03 InnoDB: 1.1.8 started; log sequence number 1600324627
130302  1:56:03 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
130302  1:56:03 [Note]   - '0.0.0.0' resolves to '0.0.0.0';
130302  1:56:03 [Note] Server socket created on IP: '0.0.0.0'.

那只是日志的一部分,完整的有点太大了。

帮忙?

共有1个答案

林念
2023-03-14

在采取任何操作之前,请确保备份所提到的文件夹!

这对我有效,

  1. 退出XAMPP
  2. 剪切C:\xampp\mysql\backup
  3. 中的所有文件
  4. 将文件粘贴并替换到C:\xampp\mysql\data
  5. 以管理员身份运行XAMPP
 类似资料:
  • 以下是错误日志的内容: 2018-08-18 11:53:23 4DC INNODB:警告:不推荐使用innodb_additional_mem_pool_size。在以后的版本中,该选项可能会与innodb_use_sys_malloc选项和INNODB的内部内存分配器一起删除。 2018-08-18 11:53:23 1244[注]INNODB:innodb_empty_free_list_a

  • 但结果显示相同。有人能帮忙吗? 提前感谢S.K Setia

  • 问题内容: 当我打开XAMPP并单击启动MySQL按钮时,它给我一个错误。我刚刚开始,但是现在不起作用。 12:19:12 PM [mysql]尝试启动MySQL应用… 12:19:12 PM [mysql]检测到状态更改:正在运行 12:19:13 PM [mysql]检测到状态更改:已停止 12:19:13 PM [mysql]错误:MySQL意外关闭。 12:19:13 PM [mysql]

  • 我刚刚安装了XAMPP,当我尝试在XAMPP控制面板中启动Apache和MySQL时,现在出现以下错误: 19:27:08[mysql]错误:mysql意外关闭 19:27:08[mysql]这可能是由于端口被阻止、缺少依赖项、 19:27:08[mysql]权限不正确、崩溃或其他方法关闭所致 19:27:08[mysql]按Logs按钮查看错误日志,并查看Windows事件查看器中的更多线索 1

  • 当我打开XAMPP并单击start MySQL按钮时,它会给我一个错误。我刚刚开始,但现在不行了。 12:19:12 PM[mysql]尝试启动mysql应用程序... 12:19:12 PM[mysql]检测到状态更改:正在运行 12:19:13 PM[mysql]检测到状态更改:已停止 12:19:13 PM[mysql]错误:mysql意外关闭。 12:19:13 PM[mysql]这可能是