XAMPP - Mysql 停止在 OS X Yosemite (10.10) 上工作 [英] XAMPP - Mysql stopped working on OS X Yosemite (10.10)

查看:58
本文介绍了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 结束

2014-08-06 17:19:04 5277 mysqld_safe Starting mysqld daemon with databases from /Applications/XAMPP/xamppfiles/var/mysql dyld: Symbol not found: _sqlite3_intarray_bind Referenced from: /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData Expected in: /Applications/XAMPP/xamppfiles/lib/libsqlite3.dylib in /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData 2014-08-06 17:19:05 5277 mysqld_safe mysqld from pid file /Applications/XAMPP/xamppfiles/var/mysql/MacBook-Pro.local.pid ended

推荐答案

似乎表明您可以

/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) 上工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆