【发布时间】:2013-12-30 01:15:53
【问题描述】:
错误
1:47:20 AM [mysql] Error: MySQL shutdown unexpectedly.
1:47:20 AM [mysql] This may be due to a blocked port, missing dependencies,
1:47:20 AM [mysql] improper privileges, a crash, or a shutdown by another method.
1:47:20 AM [mysql] Press the Logs button to view error logs and check
1:47:20 AM [mysql] the Windows Event Viewer for more clues
1:47:20 AM [mysql] If you need more help, copy and post this
1:47:20 AM [mysql] entire log window on the forums
日志:
2013-12-12 01:33:01 3204 [Note] Plugin 'FEDERATED' is disabled.
2013-12-12 01:33:01 828 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.
2013-12-12 01:33:01 3204 [Note] InnoDB: The InnoDB memory heap is disabled
2013-12-12 01:33:01 3204 [Note] InnoDB: Mutexes and rw_locks use Windows
interlocked functions
2013-12-12 01:33:01 3204 [Note] InnoDB: Compressed tables use zlib 1.2.3
2013-12-12 01:33:01 3204 [Note] InnoDB: Not using CPU crc32 instructions
2013-12-12 01:33:01 3204 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2013-12-12 01:33:01 3204 [Note] InnoDB: Completed initialization of buffer pool
2013-12-12 01:33:01 3204 [Note] InnoDB: Highest supported file format is Barracuda.
2013-12-12 01:33:02 3204 [Warning] InnoDB: Resizing redo log from 2*3072 to 2*320
pages , LSN=1625987
2013-12-12 01:33:02 3204 [Warning] InnoDB: Starting to delete and rewrite log files.
2013-12-12 01:33:02 3204 [Note] InnoDB: Setting log file C:\xampp\mysql
\data\ib_logfile101 size to 5 MB
2013-12-12 01:33:02 3204 [Note] InnoDB: Setting log file C:\xampp\mysql
\data\ib_logfile1 size to 5 MB
2013-12-12 01:33:02 3204 [Note] InnoDB: Renaming log file C:\xampp\mysql
面对这个错误,为什么?
【问题讨论】:
-
可能无法解决您的问题,但请尝试在
xampp-control.exe上右键单击 -> 以管理员身份运行,然后尝试从中启动 MySQL。我发现这通常对我有用。 -
这就是您的日志文件中的全部内容吗?我没有看到它最后关闭。实际上,即使您的最后一行也意外结束。请粘贴更多您的日志文件。
-
嘿,把你的端口切换到 8888,你可能已经启动了 Skype 或其他使用相同端口的东西
-
我同意@BuddhistBeast。不过,您的日志会指明方向。如果不是端口冲突,那么您可能更改了 MySQL 配置文件中的某些内容,导致 MySQL 无法启动。
-
我已经做了你们所说的所有这些事情
标签: php mysql wordpress xampp wamp