티스토리 뷰
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
'Mac OS' 카테고리의 다른 글
Mac에서 java 버전 변경하기 (1) | 2024.02.08 |
---|---|
맥에서 자바 설치하고 버전 여러개 바꾸기 (1) | 2023.08.08 |
[환경설정] Java 1.8 설치 및 환경설정 (0) | 2023.06.26 |
homebrew 설치 방법 (0) | 2023.06.26 |