xamps 上的 MySQL 服务运行,然后在几秒钟后停止

Posted

技术标签:

【中文标题】xamps 上的 MySQL 服务运行,然后在几秒钟后停止【英文标题】:MySQL service on xamps Runs and then stops after a few seconds 【发布时间】:2020-02-19 10:57:19 【问题描述】:

我在 Xampp 上运行 mysql 服务,它显示运行状态,几秒钟后,它显示消息:MySQL 意外关闭。

我已尝试查找是否有其他应用程序正在使用 MySQL 的端口,但没有,并将端口更改为 3307 以确保我仍然收到错误:错误: “MySQL 意外关闭。 这可能是由于端口阻塞、缺少依赖项、 不正确的权限、崩溃或通过其他方法关闭。 按日志按钮查看错误日志并检查 Windows 事件查看器以获取更多线索 如果您需要更多帮助,请复制并发布此内容 论坛上的整个日志窗口”

这是日志文件的内容:

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

【问题讨论】:

【参考方案1】:

重新安装 xampp 软件并重试。

【讨论】:

如果我卸载 xamp,我是否可以访问我的管理员中没有备份的 php 数据库??

以上是关于xamps 上的 MySQL 服务运行,然后在几秒钟后停止的主要内容,如果未能解决你的问题,请参考以下文章

我使用JS添加了一行,但它在几秒/毫秒后立即被删除,控制台日志也显示没有错误

JavaScript Javascript在几分钟和几秒内倒计时

Codeigniter 项目没有运行除 XAMP 之外的其他 AMP 服务器

SaltStack数据系统

本地慢 PHP 项目,使用 CI 和 Xamp

有了AI,你可以在几秒内数到1000+葵花籽