簡體   English   中英

MAMP:MySQL無法啟動(無法打開Windows EventLog)

[英]MAMP: MySQL doesn't start (Cannot open Windows EventLog)

當我在Windows 10上啟動MAMP時,它無法啟動MySQL。 昨天MAMP可以啟動數據庫服務器但不是今天。

MAMP桌面

我打開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錯誤,但我找不到解決問題的方法。 我能做什么?

停止所有MAMP服務。

C:\\ MAMP \\ DB \\ mysql的\\

首先備份以mysql-bin開頭的所有文件。*然后刪除所有以mysql-bin。*開頭的文件(包括mysql-bin.index文件。)並啟動服務。

再見

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM