I am using MAMP 4.1 on Windows 10 and cannot get MySQL server to start. When I uninstalled MAMP and re-installed it MySQL server starts up, but when I stop it, it will not s
I had the same problem today.
I did try removing everything from C:\MAMP\db\mysql\
and tried to restart MAMP & servers. But it failed.
Then I noticed the following error in the mysql log file /MAMP/logs/mysql_error_log.err
[error] Cannot open windows event_log ; check privileges
This basically means that you don't have sufficient access.
So
run as administrator
This is what I did to solve this issue:
my issue was Avast Antivirus blocking MAMP, disabled for 10 minutes and Apache started
Uninstall entire MAMP and also any other xamap and wamp if you install previously. Check the drive C. No any other folder or file related to this present there. then reinstall MAMP again. All the problems are solve your apache and mysql both start. please vote me.
I had the same problem. I contacted mamp support, and their answer was the following; it worked for me. Hope this helps you too. Stop all servers in MAMP.
The below assumes your MAMP installation directory is C:\MAMP\
.
For MAMP:
C:\MAMP\db\mysql\
mysql-bin.*
, then delete them (including mysql-bin.index
file.)C:\MAMP\conf\mysql\my.ini
log-bin
#
character at start of line.
#log-bin=mysql-bin
mysql-bin.*
files back in their place.This is a very common issue with MAMP. If this happened to you out of the blue, this is probably the fix.