MAMP:MySQL无法启动(无法打开Windows EventLog)

时间:2019-03-03 12:46:05

标签: mysql windows-10 mamp

当我在Windows 10上启动MAMP时,无法启动MySQL。昨天MAMP可以启动数据库服务器,但今天不能启动。

MAMP desktop

我已经打开了mySQL日志( C:\ MAMP \ logs \ mysql_error_log.err )以查看发生了什么,我看到了:

2019-03-03T12:37:02.179451Z 0 [Note] --secure-file-priv is set to NULL. Operations related to importing and exporting data are disabled
2019-03-03T12:37:02.180417Z 0 [ERROR] Cannot open Windows EventLog; check privileges, or start server with --log_syslog=0
2019-03-03T12:37:02.180436Z 0 [Note] C:\MAMP\\bin\mysql\bin\mysqld.exe (mysqld 5.7.24-log) starting as process 4580 ...

我一直在搜索EventLog错误,但是找不到解决该问题的方法。我该怎么办?

1 个答案:

答案 0 :(得分:2)

停止所有MAMP服务。

C:\ MAMP \ db \ mysql \

首先备份所有以mysql-bin。*开头的文件,然后删除所有以mysql-bin。*开头的文件(包括mysql-bin.index文件。)并启动服务。

再见

相关问题