简体   繁体   English

Brew安装MySQL,El Capitan请求循环

[英]Brew Install MySQL, El Capitan Request Loop

During this step of brew install mysql: 在brew安装mysql的此步骤中:

==> Pouring mysql-5.7.9.el_capitan.bottle.1.tar.gz

This keeps happening to my log every 10 seconds: 每10秒就会在我的日志中不断发生一次:

Log:  
12/8/15 2:54:58.681 PM com.apple.xpc.launchd[1]: (com.oracle.oss.mysql.mysqld[38555]) Service could not initialize: Unable to set current working directory. error = 2: No such file or directory, path = /usr/local/mysql: 15B42: xpcproxy + 12028 [1353][19011403-4854-3CCD-9FCF-49C36302EB40]: 0x2
12/8/15 2:54:58.681 PM com.apple.xpc.launchd[1]: (com.oracle.oss.mysql.mysqld) Service only ran for 0 seconds. Pushing respawn out by 10 seconds.

Now, I can run the sql server but it's still making these requests and I don't know how to fix it. 现在,我可以运行sql服务器,但它仍在发出这些请求,而且我不知道如何解决它。 Even when I stop the server this request keeps occurring. 即使当我停止服务器时,此请求也不断发生。

I faced the same problem, seems you have installed mysql not from homebrew. 我遇到了同样的问题,似乎您不是从自制软件安装了mysql。 Deleting this /Library/LaunchDaemons/com.oracle.oss.mysql.mysqld.plist and restart PC solved this problem. 删除此/Library/LaunchDaemons/com.oracle.oss.mysql.mysqld.plist并重新启动PC即可解决此问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM