MySQL Server on MAMP-Windows Will Not Start

前端 未结 6 899
既然无缘
既然无缘 2020-12-30 09:34

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

6条回答
  •  醉话见心
    2020-12-30 10:20

    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:

    • With Windows Explorer go to folder C:\MAMP\db\mysql\
    • First backup all files that begin with mysql-bin.*, then delete them (including mysql-bin.index file.)
    • Then try starting all MAMP servers again (wait for MySQL to turn light on).
    • After that stop all MAMP servers again.
    • You'll now try to disable binary log-bin in MAMP (or MAMP PRO)
    • Open up MySQL configuration file in text editor of your choice: C:\MAMP\conf\mysql\my.ini
    • Find following text: log-bin
    • Comment this line by adding # character at start of line.
      #log-bin=mysql-bin
      
    • Save and restart servers
    • After that put the mysql-bin.* files back in their place.

提交回复
热议问题