(homebrew.mxcl.mysql[2274]): Service could not initialize: Unable to set current working directory. error = 2: No such file or directory
10
votes
2
answers
5112
views
If I run console on my mac and go to the system.log I see that system,log is getting flooded with this error
Oct 31 15:57:59 abhisheks-mbp com.apple.xpc.launchd (homebrew.mxcl.mysql): Service could not initialize: Unable to set current working directory. error = 2: No such file or directory, path = /usr/local/var/mysql: 17A405: xpcproxy + 11040 [43FABD4F-8081-3087-91BC-95B588688D55]: 0x2
Oct 31 15:57:59 abhisheks-mbp com.apple.xpc.launchd (homebrew.mxcl.mysql): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Oct 31 15:58:03 abhisheks-mbp com.apple.xpc.launchd (com.apple.preference.displays.MirrorDisplays): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
I had installed mysql using homebrew many months ago. but I had removed it I don't know why its still trying to run it.
I tried to remove mysql
~ > brew uninstall mysql
Error: No such keg: /usr/local/Cellar/mysql
But still i see messages pouring in.
Asked by Knows Not Much
(1689 rep)
Oct 31, 2017, 09:03 PM
Last activity: Jan 4, 2023, 04:17 PM
Last activity: Jan 4, 2023, 04:17 PM