xampp - Xampp 启动 SQL 而不是意外关闭。似乎没有解决方案有效
问题描述
所以我今天想开始我的 SQL,在我按下开始后,我收到了这条消息:
13:48:29 [mysql] Error: MySQL shutdown unexpectedly.
13:48:29 [mysql] This may be due to a blocked port, missing dependencies,
13:48:29 [mysql] improper privileges, a crash, or a shutdown by another method.
13:48:29 [mysql] Press the Logs button to view error logs and check
13:48:29 [mysql] the Windows Event Viewer for more clues
13:48:29 [mysql] If you need more help, copy and post this
13:48:29 [mysql] entire log window on the forums
我检查了error_log文件和里面的这个。
InnoDB: using atomic writes.
2020-06-25 13:48:27 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-06-25 13:48:27 0 [Note] InnoDB: Uses event mutexes
2020-06-25 13:48:27 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-06-25 13:48:27 0 [Note] InnoDB: Number of pools: 1
2020-06-25 13:48:27 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-06-25 13:48:27 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-06-25 13:48:27 0 [Note] InnoDB: Completed initialization of buffer pool
2020-06-25 13:48:27 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-06-25 13:48:27 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-06-25 13:48:27 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-06-25 13:48:27 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-06-25 13:48:27 0 [Note] InnoDB: Waiting for purge to start
2020-06-25 13:48:27 0 [Note] InnoDB: 10.4.13 started; log sequence number 5299770; transaction id 988
2020-06-25 13:48:27 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-06-25 13:48:27 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-06-25 13:48:27 0 [Note] InnoDB: Buffer pool(s) load completed at 200625 13:48:27
2020-06-25 13:48:27 0 [Note] Server socket created on IP: '::'.
我已经尝试了这些解决方案来解决问题:
- 没有其他东西阻塞端口。不是 Skype,什么都不是。
- 删除 ibtmp1 文件和 ib_... 日志文件并重新启动服务器。
- 将端口从 3306 更改为 3307。
- 将 max_allowed_packet 从 1M 更改为 128M
- 在任务管理器中结束 mysql 任务(这不起作用,因为我没有运行这样的任务)
这是第三次发生这种情况。如果我重新安装 xampp,我可以让它再次工作的唯一方法。但是再次连接所有内容并再次导入我的表需要 30 分钟。此外,我必须不断导出我的表格,以免丢失任何更改。还有什么我可以尝试的吗?
解决方案
推荐阅读
- javascript - 使用 cookie 而不是 localStorage 保护 Vue.js 应用程序
- reactjs - 警告:由`useForm`创建的实例未连接到任何表单元素
- reactjs - 如何在表单的“外部”反应中验证表单
- c# - 克隆 Xamarin 解决方案时出错
- javascript - 如何从将 iframe 用于打印区域的功能打印后检测?
- java - 返回二叉树范围内的节点数
- python - 如何在复杂布局中通过名称访问 Bokeh 对象
- javascript - ReactJs:修改其关联状态值后,道具值不会更新
- axapta - 在 D365 中禁用某些表单的安全策略
- sql - 带条件的 Oracle SUM