首先,安装后第一次运行,一切正常;但是现在,一小时后重新启动,当我启动 EasyPHP Dashboard 时,MySQL 没有运行。当我尝试启动它时,出现加载圆圈,然后刷新页面,MySQL 仍未启动 - 没有任何消息。我删除了错误日志,并在尝试运行后直接写入以下内容:
2016-05-21T08:39:32.432081Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2016-05-21T08:39:32.432081Z 0 [Warning] 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
2016-05-21T08:39:32.432081Z 0 [Warning] 'NO_AUTO_CREATE_USER' sql mode was not set.
2016-05-21T08:39:32.432081Z 0 [Warning] Insecure configuration for --secure-file-priv: Current value does not restrict location of generated files. Consider setting it to a valid, non-empty path.
2016-05-21T08:39:32.432081Z 0 [Note] ..\eds-binaries\dbserver\mysql5711x86x160521094439\bin\eds-dbserver.exe (mysqld 5.7.11) starting as process 1732 ...
您知道会发生什么以及如何解决吗?
编辑:重新安装几次后情况还是一样。安装后一切正常,但关闭 easyphp 后,MySQL 再也不会启动。错误日志总是说,mysql 正在启动进程 xxxx,但该进程从未启动。
最佳答案
单独安装MySQL Server
不要安装EasyPHP
自带的MySQL。并且MySQL
服务在操作系统启动时启动,您不需要在EasyPHP
中启动该服务。
请注意,如果您想将此安装与 phpMyAdmin
一起使用,您应该调整 phpMyAdmin
的配置(可能是您的 MySQL 密码),或者您可以使用数据库 GUI 工具像 MySQL Workbench
。
希望对您有所帮助。 [我正在使用 XAMPP
进行相同的操作。它对我有用]
关于mysql - EasyPHP 16.1.1 无法启动MySQL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37360749/