Brew 安装 MySQL,El Capitan 请求循环
Brew Install MySQL, El Capitan Request Loop
在这一步 brew install 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 服务器,但它仍在发出这些请求,我不知道如何修复它。即使我停止服务器,这个请求也会继续发生。
我遇到了同样的问题,看来你安装的 mysql 不是来自自制软件。
删除这个 /Library/LaunchDaemons/com.oracle.oss.mysql.mysqld.plist
并重新启动 PC 解决了这个问题。
在这一步 brew install 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 服务器,但它仍在发出这些请求,我不知道如何修复它。即使我停止服务器,这个请求也会继续发生。
我遇到了同样的问题,看来你安装的 mysql 不是来自自制软件。
删除这个 /Library/LaunchDaemons/com.oracle.oss.mysql.mysqld.plist
并重新启动 PC 解决了这个问题。