Mac OS X 10.10 Yosemite下面解决XAMPP无法开启mysql的问题

在xampp安装目录下找到xamp这个文件(默认路径是:/Applications/XAMPP/xamppfiles/xampp)
用文本编辑器打开,搜索:$XAMPP_ROOT/bin/mysql.server start > /dev/null &
在那一行前面添加: unset DYLD_LIBRARY_PATH
保存退出,重新打开xampp,开启MySQL。
卧槽,居然变绿了,成功了

发表评论?

0 条评论。

发表评论


注意 - 你可以用以下 HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>