XAMPP's MySQL on OSX Yosemite
Edit file using texteditor (I use sublime)
/Applications/XAMPP/xamppfiles/xampp
Go to line:163 or looking for:$XAMPP_ROOT/bin/mysql.server start > /dev/null &
Add unset DYLD_LIBRARY_PATH
on top of it and. It should look like:
unset DYLD_LIBRARY_PATH $XAMPP_ROOT/bin/mysql.server start > /dev/null &
Thanks to jjbitrock