10/22/2014

XAMPP MySQL not working after upgrade to OSX Yosemite.

Find and edit the file xampp

Path: /Applications/XAMPP/xamppfiles/xampp

Search for:

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

Add the following line above:

unset DYLD_LIBRARY_PATH

The result should be:

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

Restart XAMPP and the MySQL service should start without problems.

4 comments:

  1. I don't have an XAMPP folder in my Applications, any idea where it is?

    ReplyDelete
    Replies
    1. You can try: mdfind XAMPP in Terminal to find the location.

      More details here:
      https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/mdfind.1.html

      Hope this helps.

      Delete
  2. Thank you!!! It work for me.

    ReplyDelete