MAMP mysql server won't start. No mysql processes are running

前端 未结 26 2066
我寻月下人不归
我寻月下人不归 2020-12-02 07:02

My MAMP mysql server won\'t start. All of the suggestions I\'ve seen on the web say to check for other mysqld processes running and kill them if they exist, and that it shou

相关标签:
26条回答
  • 2020-12-02 07:39

    Best way to find the real cause is to check the MAMP error log in MAMP > logs > mysql_error_log.err

    I found the ERROR "Do you already have another mysql server running on port: 3306 ?" - which was actually the cause for my MAMP MYSQL not starting.

    Port 3306 was already "busy", so I have changed it to 8306 and that solved my issue.

    0 讨论(0)
  • 2020-12-02 07:39

    You need to leave the mysql database AS IS.

    • Uninstall and reinstall MAMP Pro.
    • For every WP instance that you want to have on your server (localhost), you need to create a NEW database that is not mysql.
    • Go into SequelPro and add database.
    • Use Duplicator to transfer your WP.

    Do not use mysql for anything, it appears to be required by MAMP.

    0 讨论(0)
  • 2020-12-02 07:40

    Just type below command in terminal:

    rm /Applications/MAMP/db/mysql56/ib_logfile* 
    

    and then restart the MAMP.

    It works back perfectly.

    0 讨论(0)
  • 2020-12-02 07:40

    Ok, so I tried EVERY suggestion i found here on SO and other forums I nothing worked for me. The only solution, that worked for me was to install MAMP 3 version, since I use MAMP for wordpress projects version 3 works just fine.

    0 讨论(0)
  • 2020-12-02 07:44

    The easiest solution: quit MAMP and remove the log files from MAMP/db/mysql directory [ib_logfile0, ib_logfile1] and restart MAMP. For more visit http://juanfra.me/2013/01/mysql-not-starting-mamp-fix/

    0 讨论(0)
  • 2020-12-02 07:46

    Remove the files ib_logfileN (N being the number) from the MAMP/db/mysql56 folder.

    Then restart MAMP.

    Should Work!

    0 讨论(0)
提交回复
热议问题