【发布时间】:2020-12-21 20:18:31
【问题描述】:
这样做之后,Xampp 告诉我:
21:13:57 [main] Control Panel Ready
21:14:06 [mysql] Attempting to start MySQL app...
21:14:06 [mysql] Status change detected: running
21:14:12 [mysql] Status change detected: stopped
21:14:12 [mysql] Error: MySQL shutdown unexpectedly.
21:14:12 [mysql] This may be due to a blocked port, missing dependencies,
21:14:12 [mysql] improper privileges, a crash, or a shutdown by another method.
21:14:12 [mysql] Press the Logs button to view error logs and check
21:14:12 [mysql] the Windows Event Viewer for more clues
21:14:12 [mysql] If you need more help, copy and post this
21:14:12 [mysql] entire log window on the forums
所以我检查了 mysql 的日志,这就是它所说的:
InnoDB: using atomic writes.
2020-12-21 21:14:07 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-12-21 21:14:07 0 [Note] InnoDB: Uses event mutexes
2020-12-21 21:14:07 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-12-21 21:14:07 0 [Note] InnoDB: Number of pools: 1
2020-12-21 21:14:07 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-12-21 21:14:07 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-12-21 21:14:07 0 [Note] InnoDB: Completed initialization of buffer pool
2020-12-21 21:14:11 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-12-21 21:14:11 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-12-21 21:14:11 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-12-21 21:14:11 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-12-21 21:14:11 0 [Note] InnoDB: Waiting for purge to start
2020-12-21 21:14:11 0 [Note] InnoDB: 10.4.13 started; log sequence number 6331998436; transaction id 3576318
2020-12-21 21:14:11 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-12-21 21:14:11 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-12-21 21:14:11 0 [Note] InnoDB: Buffer pool(s) load completed at 201221 21:14:11
2020-12-21 21:14:11 0 [Note] Server socket created on IP: '::'.
我没有发现类似于我的错误日志的问题,但也许我错过了。我见过不同的错误,但在这个日志中,我什至无法弄清楚错误是什么。是因为文件已满吗?(日志中显示为 12MB)
今天早些时候,它确实有效,但现在突然不再有效了。有谁知道如何解决这个问题以及是什么原因造成的?
【问题讨论】:
-
检查您的 Windows 任务管理器和服务。看起来 MySQL 仍在运行。阻止他们再试一次。