我已在干净的 Windows 10
安装上安装了 MAMP
。当我尝试运行 MAMP 时,它会启动 Apache 服务器,但不会启动 MySQL 服务器
。我搜索并尝试了许多不同的选项,但没有一个有帮助。
我尝试过的:
- 卸载/重新安装 MAMP
- 删除 ib_logfile0、ib_logfile1、ibdata1
- 尝试不同的端口(3306、8888)
- 输入killall -9 msqld
这是错误日志的内容:
2019-02-20T10:13:34.538252Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2019-02-20T10:13:34.538322Z 0 [Note] --secure-file-priv is set to NULL. Operations related to importing and exporting data are disabled.
2019-02-20T10:13:34.538601Z 0 [Note] C:\MAMP\bin\mysql\bin\mysqld.exe (mysqld 5.7.24-log) starting as process 10184
最佳答案
我最终安装了旧版本的 MAMP (3.3.1),它现在工作正常。似乎版本 4.1.0 不稳定或与我的 Windows 不兼容。
关于MySQL 未在 MAMP 上启动。什么都不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54784057/