Brew安装MySQL,El Capitan请求循环

时间:2015-12-08 20:04:57

标签: mysql localhost homebrew osx-elcapitan

在brew安装mysql的这一步中:

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

这每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.

现在,我可以运行sql server但它仍在发出这些请求,我不知道如何修复它。即使我停止服务器,这个请求也会不断发生。

1 个答案:

答案 0 :(得分:1)

我遇到了同样的问题,好像你已经安装了mysql而不是自制软件。 删除此/Library/LaunchDaemons/com.oracle.oss.mysql.mysqld.plist并重新启动PC可以解决此问题。

相关问题