MySQL with MAMP does not work with OSX Yosemite 10.10

前端 未结 15 702
灰色年华
灰色年华 2020-12-28 16:15

[EDIT] The last version of MAMP with the last version of OSX Yosemite works fine.

I installed the beta of Yosemite two month ago, no problem with MAMP. With the last

相关标签:
15条回答
  • 2020-12-28 17:14

    Above solutions didn't work for me as I had no conflicting mysqld instances running. After check the mysql error logs in MAMP, it was obvious msqld was having all sorts of issues starting. The main error was:

    [ERROR] /Applications/MAMP/Library/bin/mysqld: unknown option '--//skip-networking'
    

    Which pointed me to an option in my.conf file. Somewhere along the line with debugging another issue I had added:

    //skip-networking
    

    As an option or I had commented it out. Removing that line allowed mysql in MAMP to start correctly.

    0 讨论(0)
  • 2020-12-28 17:18

    On MAMP, I was able to get MySQL to work by editing /Applications/MAMP/bin/startMysql.sh and unsetting DYLD_LIBRARY_PATH. So the updated script looks like this:

    # /bin/sh
    unset DYLD_LIBRARY_PATH
    /Applications/MAMP/Library/bin/mysqld_safe... etc.      
    

    It also required killing all MySQL processes previously started by MAMP.

    0 讨论(0)
  • 2020-12-28 17:18

    I am also running into the same problem with MAMP. Absolutely clueless but with the other responses pointing toward a recent update in OSX I can believe that the problem stems from here. Uninstalled and reinstalled MAMP and MySQL is the only operation able to run...Apache still hangs. Will be downloading AMPPS to see if this corrects things.

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