本文介绍了XAMPP - Mysql 停止在 OS X Yosemite (10.10) 上工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 OS X Maverick 上安装了 XAMPP 1.8.3-1,一切都很好,直到我昨晚升级到 Yosemite,现在当我尝试在管理器中启动 MySQL 时,它无法启动.

I Installed XAMPP 1.8.3-1 on OS X Maverick and all was well, until I upgraded to Yosemite last night, Now when I try to start MySQL in the manager it won't start.

活动监视器显示没有其他 MySQL 进程在运行.在错误日志中,我发现此消息:

Activity monitor shows no other MySQL processes running. While in the error log I find this message:

2014-08-06 17:19:04 5277 mysqld_safe 启动 mysqld 守护进程来自/Applications/XAMPP/xamppfiles/var/mysql 的数据库dyld:找不到符号:_sqlite3_intarray_bind引用自:/System/Library/Frameworks/CoreData.framework/Versions/A/CoreData预期在:/Applications/XAMPP/xamppfiles/lib/libsqlite3.dylib在/System/Library/Frameworks/CoreData.framework/Versions/A/CoreData2014-08-06 17:19:05 5277 mysqld_safe mysqld 来自 pid 文件/Applications/XAMPP/xamppfiles/var/mysql/MacBook-Pro.local.pid 结束

推荐答案

似乎表明您可以

/Applications/XAMPP/xamppfiles/xampp

并寻找:

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

并在其上添加unset DYLD_LIBRARY_PATH.它应该看起来像:

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 &

看来你也可以

/Applications/mampstack-version/mysql/scripts/ctl.sh

并将 unset 添加到该文件的顶部:

and add the unset to the top of that file as well:

#!/bin/sh
unset DYLD_LIBRARY_PATH

这篇关于XAMPP - Mysql 停止在 OS X Yosemite (10.10) 上工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-25 18:29