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

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

    I just ran this in terminal: sudo killall -9 mysqld and then I force quit MAMP. Reopen Mamp and everything works perfectly.

    Sometimes, just turning off and restarting your computer does the trick.

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

    Im posting this as a potensial Answer!

    What i did to solve this was the following:

    1. Restart the computer ( to make sure no mysqld processes are running, even if it crashed and tries to restart itself)
    2. Delete everything that has anything to do with mysql on the computer by running these commands:
      sudo rm /usr/local/mysql
      sudo rm -rf /usr/local/mysql*
      sudo rm -rf /Library/StartupItems/MySQLCOM
      sudo rm -rf /Library/PreferencePanes/MySQL*
      vim /etc/hostconfig and removed the line MYSQLCOM=-YES-
      rm -rf ~/Library/PreferencePanes/MySQL*
      sudo rm -rf /Library/Receipts/mysql*
      sudo rm -rf /Library/Receipts/MySQL*
      sudo rm -rf /var/db/receipts/com.mysql.*
    3. Delete MAMP by running the MAMP PRO uninstaller, then deleting the applications/MAMP folder
    4. Delete the Library/Application Support/appsolute folder (MAMP application support folder)
    5. Reinstall MAMP PRO

    Hopefully this helps :)

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