I installed mysql@5.7 using brew. After installing, I started the service using brew services start mysql@5.7
. Checking using brew services
shows its working fine.
In any attempt after the first though, the behavior is different. I run brew services start mysql@5.7
and I get:
Bootstrap failed: 5: Input/output error
Try re-running the command as root for richer errors.
Error: Failure while executing; `/bin/launchctl bootstrap gui/505 /Users/Mahmoud/Library/LaunchAgents/homebrew.mxcl.mysql@5.7.plist` exited with 5.
If I then try to restart the service, using brew services restart mysql@5.7
I get
Stopping `mysql@5.7`... (might take a while)
==> Successfully stopped `mysql@5.7` (label: homebrew.mxcl.mysql@5.7)
==> Successfully started `mysql@5.7` (label: homebrew.mxcl.mysql@5.7)
but an inspection using brew services
would show that the service has been stopped:
Name Status User File
mysql@5.7 stopped root ~/Library/LaunchAgents/homebrew.mxcl.mysql@5.7.plist
Stopping the service manually using brew services stop mysql@5.7
and starting again hasn't worked as well.
Tried as well to uninstall using brew uninstall mysql@5.7
and re-installing using brew install mysql@5.7
but the problem persists. I tried looking all around but I don't see anyone having this same problem. Any ideas on how to fix this?