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

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

    I’ve seen on different answers that we have to remove ib_logfile0 and ib_logfile1 in Applications/MAMP/db/mysql56/

    If you use MAMP PRO 4, these files are in /Library/Application Support/appsolute/MAMP PRO/db/mysql56/

    Removing theses fils works for me (the serveur doesn’t start after a system crash).

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

    I was running MAMP 4.1 on windows and MYSQL 5.7 .Was having this problem many times and found out a fix for this: For me deleting the log files was not working then just delete

    • mysql-bin.index
    • YOUR_PC_NAME.pid

    and boom it starts working again. If this also doesn't work for your, remember to delete each file one by one and keep checking if any works for you. Make sure to backup always.

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

    What worked for me was:

    I had a process called "mysqld" running even when MAMP had been quit. I force quit the process, restarted MAMP and it worked again.

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

    If you are using MAMP PRO 5.7+ (18029)

    1.Just stop MAMPRO. 2.Goto to directory /Applications/MAMP/db/mysql## (Where ## is the Number of your Mysql version) 3.List the files with command: ls -l * 4. Type command: rm ib_logfile* #Just must delete theses 2 files. 5.Restart MAMPRO and its must works fine!

    Caution: If you remove the files ibdata1 will destroy all you "databases"

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

    I've tried all the solutions above with version 4.2 of MAMP and none of them worked to me in El Capitan OS, so the only thing that worked was uninstalled MAMP with Clean My Mac and then install the older 3.5.2 version, that one worked right away.

    0 讨论(0)
  • 2020-12-02 08:00

    None of the above answers worked for me (I did MAMP upgrade to latest 5.7 on MacOS).

    After a while of digging through the error log (/Applications/MAMP/logs/mysql_error_log.err) i found out that there's an error [ERROR] unknown variable 'thread_concurrency=8'] that causes termination.

    Based on a post about upgrades i removed the directive from my.cnf and restarted MAMP. All worked well afterwards (was prompted to upgrade DBs, etc.)

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