[英]XAMPP MySQL won't start on Mac Yosemite
I have install XAMPP a long time ago and now MySQL won't start. 我很早以前就安装了XAMPP,现在MySQL无法启动。
I already have this problem and I think I just added this line to XAMPP file in xamppfiles
folder to start MySQL. 我已经
xamppfiles
这个问题,我想我刚刚将此行添加到xamppfiles
文件夹中的XAMPP文件中以启动MySQL。
unset DYLD_LIBRARY_PATH
When I try to start MySQL on the teminal, with: 当我尝试在终端上启动MySQL时,请执行以下操作:
sudo /Applications/XAMPP/xamppfiles/bin/mysql.server start
I get an error: 我收到一个错误:
ERROR!
错误! The server quit without updating PID file (
/Applications/XAMPP/xamppfiles/var/mysql/MBP-de-IMYMY.pid
).服务器退出而不更新PID文件(
/Applications/XAMPP/xamppfiles/var/mysql/MBP-de-IMYMY.pid
)。
Yesterday, it stopped working when I opened the XAMPP manager. 昨天,当我打开XAMPP管理器时它停止工作。 I did nothing and it stopped working.
我什么也没做,它停止了工作。
Is there any solution? 有什么解决办法吗?
There is a Solution: 有一个解决方案:
Looking for some running mysql-processes: 寻找一些正在运行的mysql进程:
sudo ps aux | grep mysql
It returns something like this: 它返回如下内容:
root 13425 1,2 0,0 2432772 ...
_mysql 7545 0,0 0,1 2606424 ...
root 315 0,0 0,0 2434396 ...
root 13420 0,0 0,0 2434392 ...
Then kill them all by typing: 然后输入以下命令杀死它们:
sudo kill -9 7545
Restart the MySql-Services again... 再次重新启动MySql-Services ...
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.