MySQL with MAMP does not work with OSX Yosemite 10.10

前端 未结 15 703
灰色年华
灰色年华 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:05

    This solved my problem with mysqld and apache on XAMPP:

    As you can see, Yosemite DP 5 changes a few things in its library. Probably if you’re running XAMPP server on DP5 it won’t start mysqld (MySQL database daemon).

    What you should do?.

    STEP 1 . Download Homebrew. Open your terminal and then type: . . . ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

    STEP 2: . Download LIBICONV, you have to type the following lines at terminal: . . . brew install libiconv . . . brew link libiconv —force

    STEP 3 . Download SQLITE3, you have to type the following lines at terminal: . . . brew install sqlite3 . . . brew link sqlite3 —force

    STEP 4 . Go to Applications/XAMPP/xamppfiles/lib and then delete the following files (remember to empty your trash). . . . libsqlite3.dylib (it is an ALIAS) . . . libsqlite3.0.8.6.dylib . . . libiconv.2.dylib . . . libiconv (it is an ALIAS).

    STEP 5 .Restart you “manager-osx.app” then try to turn on your mysql database.

    Via: http://exequielplaza.com/funstuff/xampp-dp5-yosemite-mysqlfix.html

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

    Had same issue today (running last version of Yosemite preview), Apache of XAMPP for OSX didn't work / start. Apache's log files contained no errors.

    Finally I've solved this issue by removing XAMPP for OSX and installing latest version of AMPPS (http://www.ampps.com/downloads).

    I don't know what's the different or what's the initial problem causing this behaviour - but with AMPPS everything just runs fine.

    Hopefully this will work also for you.

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

    I've found this video. This works for me.

    Go to MAMP in Applications

    then, bin > apache2 > bin and rename 'envvars' to '_envvars'

    https://www.youtube.com/watch?v=brpKAM2WXhk

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

    Per the Knowledge Base at MAMP for "Apache will not start - Yosemite Beta":

    Rename the file envvars located in /Applications/MAMP/Library/bin into _envvars

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

    You can also try this workaround posted at http://community.bitnami.com/t/mysqld-doesnt-start-in-mac-os-yosemite/25153

    /Applications/XAMPP/xamppfiles/xampp
    

    Look for:

    $XAMPP_ROOT/bin/mysql.server start > /dev/null &
    

    And add unset DYLD_LIBRARY_PATH on top of it. It should look like:

    unset DYLD_LIBRARY_PATH
    $XAMPP_ROOT/bin/mysql.server start > /dev/null &
    

    I hope it helps

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

    I have resolved the situation by changing the default Port of Apache 2.4 updated after upgrading to MAC OS Yosemite.

    The file is located in: /etc/apache2/httpd.conf

    Change Listen 80 to Listen 8080

    Restart your MAC, and try to launch again MAMP Services.

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