Mac OS
[brew services start mysql 명령어 입력 시 오류] Error: Failure while executing; `/bin/launchctl bootstrap gui/501 /Users/sooinsoft/Library/LaunchAgents/homebrew.mxcl.mysql.plist` exited with 5.
Howu
2023. 8. 18. 11:17
* 원인
brew로 mysql 설치 한 경우, 실행 명령어 입력 시
Error: Failure while executing; `/bin/launchctl bootstrap gui/501 /Users/sooinsoft/Library/LaunchAgents/homebrew.mxcl.mysql.plist` exited with 5.
해당 에러 메시지가 뜨게 되는데 해당 사이트의 명령어 입력을 통해 해결할 수 있었다.
Can't start httpd - Failure while executing; `/bin/launchctl bootstrap gui/501 /Users/*/Library/LaunchAgents/homebrew.mxcl.httpd
Just tried accessing my localhost today, but it doesn't work. I worked yesterday, but I believe it's because my Mac crashed. I've tried started httpd again with brew services start httpd. This resu...
stackoverflow.com
* 해결 명령어 정리
1) Unload homebrew.mxcl.mysql.plist
$ launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
2) And load it
$ launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
3) Finally, start mysql again
$ brew services start mysql