当我单击 xampp 上的 mysql 启动按钮时。 Mysql启动然后突然停止工作

时间:2021-06-01 13:13:46

标签: mysql xampp

我无法在 xampp 上启动 MySQL。它昨天有效,但现在不起作用。当我点击开始按钮时,它会启动并运行大约 3 秒钟,然后突然停止工作。

6:19:02 PM  [mysql]     Error: MySQL shutdown unexpectedly.
6:19:02 PM  [mysql]     This may be due to a blocked port, missing dependencies, 
6:19:02 PM  [mysql]     improper privileges, a crash, or a shutdown by another method.
6:19:02 PM  [mysql]     Press the Logs button to view error logs and check
6:19:02 PM  [mysql]     the Windows Event Viewer for more clues
6:19:02 PM  [mysql]     If you need more help, copy and post this
6:19:02 PM  [mysql]     entire log window on the forums

这是错误日志

2021-06-01 18:18:56 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2021-06-01 18:18:56 0 [Note] InnoDB: Uses event mutexes
2021-06-01 18:18:56 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2021-06-01 18:18:56 0 [Note] InnoDB: Number of pools: 1
2021-06-01 18:18:56 0 [Note] InnoDB: Using SSE2 crc32 instructions
2021-06-01 18:18:56 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2021-06-01 18:18:56 0 [Note] InnoDB: Completed initialization of buffer pool
2021-06-01 18:18:56 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2021-06-01 18:18:56 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2021-06-01 18:18:56 0 [Note] InnoDB: Setting file 'E:\Programs\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2021-06-01 18:18:56 0 [Note] InnoDB: File 'E:\Programs\xampp\mysql\data\ibtmp1' size is now 12 MB.
2021-06-01 18:18:56 0 [Note] InnoDB: Waiting for purge to start
2021-06-01 18:18:57 0 [Note] InnoDB: 10.4.18 started; log sequence number 377952202; transaction id 42742
2021-06-01 18:18:57 0 [Note] InnoDB: Loading buffer pool(s) from E:\Programs\xampp\mysql\data\ib_buffer_pool
2021-06-01 18:18:57 0 [Note] Plugin 'FEEDBACK' is disabled.
2021-06-01 18:18:57 0 [Note] Server socket created on IP: '::'.

我重新安装了 xampp,然后我的问题得到了解决。但我知道备份所有项目文件非常痛苦。但它解决了我的问题。我不知道我以前的错误。如果有人知道原因,请回答。它会对某人有所帮助。同样在我之前的问题中,当我尝试退出 xampp 控制面板时,Windows 显示此错误消息 (application error screenshot)

我通过更改 xampp-control.ini 的 windows 文件权限解决了这个问题。 但我不知道为什么会这样。它一直工作到现在。我添加到 php.ini 的唯一额外配置是 netbeans-xdebug。但我认为这不是问题,因为我以前做过。我认为 netbeans 尝试与 mysql 连接。无论如何,如果有人遇到这样的错误并且找不到解决方案,只需重新安装 xampp。它将解决问题。谢谢

0 个答案:

没有答案