php - 如何在 XAMPP 中调试 MySQL 错误“MySQL 意外关闭”
问题描述
我正在尝试通过 XAMPP 运行 MySQL 服务器以与 php 连接,并且每次尝试这样做时,都会显示此错误。我已经尝试了从重新安装到更改端口地址的所有方法,但这仍然不起作用。我该如何解决这个错误?
错误
Error: MySQL shutdown unexpectedly.
12:15:26 [mysql] This may be due to a blocked port, missing dependencies,
12:15:26 [mysql] improper privileges, a crash, or a shutdown by another method.
12:15:26 [mysql] Press the Logs button to view error logs and check
12:15:26 [mysql] the Windows Event Viewer for more clues
12:15:26 [mysql] If you need more help, copy and post this
12:15:26 [mysql] entire log window on the forums\
错误日志:
2020-06-06 12:13:59 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-06-06 12:13:59 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2020-06-06 12:13:59 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-06-06 12:13:59 0 [Note] InnoDB: Setting file 'C:\XamppReintalled\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-06-06 12:13:59 0 [Note] InnoDB: File 'C:\XamppReintalled\mysql\data\ibtmp1' size is now 12 MB.
2020-06-06 12:13:59 0 [Note] InnoDB: 10.3.15 started; log sequence number 1804856; transaction id 209
2020-06-06 12:13:59 0 [Note] InnoDB: Loading buffer pool(s) from C:\XamppReintalled\mysql\data\ib_buffer_pool
2020-06-06 12:13:59 0 [Note] InnoDB: Buffer pool(s) load completed at 200606 12:13:59
2020-06-06 12:13:59 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-06-06 12:13:59 0 [Note] Server socket created on IP: '::'.
2020-06-06 12:13:59 0 [ERROR] Can't start server: Bind on TCP/IP port. Got error: 10048: Only one usage of each socket address (protocol/network address/port) is normally permitted.
2020-06-06 12:13:59 0 [ERROR] Do you already have another mysqld server running on port: 3308 ?
2020-06-06 12:13:59 0 [ERROR] Aborting
解决方案
推荐阅读
- ios - 无法在共享扩展中调用 CoreData 实体
- excel - 朱莉娅 Excel 对象
- python - 如果在 django 中设置了标志,则在模板中为 id 添加前缀
- sql-server - 在 SQL Server 中生成脚本时如何删除列的括号
- javascript - 错误:在 angular8 的 mat 表中找不到带有 arrayname => formarray 路径的控件?
- javascript - PHP在mysql SELECT中获取URL值
- graphql - 如何在 Lighthouse GraphQL 中打乱结果(随机排序)?
- opengl - 深度测试的问题
- php - Ajax 可以逐行返回从服务器接收到的数据吗?
- c# - 我的 ListView 没有正确显示结果