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

前端 未结 26 2230
我寻月下人不归
我寻月下人不归 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 08:02

    Most of the answers here are offering to delete random files.

    Most of the time, this is the worst thing to do especially if it is important for you to keep the integrity of your development environment.

    As explained in the log file, if this problem is not related to a read access permission nor to a file you deleted in your mysql then the only solution is to:

    Open your my.conf file from the File menu in MAMP (File > Edit Template > MySQL)

    Find and edit this line to be: innodb_force_recovery = 1

    Save with ctrl+S

    MAMP will offer you to restart your servers

    Go back building the next unicorn :)

提交回复
热议问题