티스토리 뷰

* 원인

brew로 mysql 설치 한 경우, 실행 명령어 입력 시

 

Error: Failure while executing; `/bin/launchctl bootstrap gui/501 /Users/sooinsoft/Library/LaunchAgents/homebrew.mxcl.mysql.plist` exited with 5.

 

해당 에러 메시지가 뜨게 되는데 해당 사이트의 명령어 입력을 통해 해결할 수 있었다.

https://stackoverflow.com/questions/70266791/cant-start-httpd-failure-while-executing-bin-launchctl-bootstrap-gui-501

 

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
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2025/05   »
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
글 보관함