오랜만에 워크밴치를 켜서 하려고 보니 오류가 생겼다;;
저 화면에서 안넘어가는 것이다 ㅠ
수차례의 뻘짓 끝에 다시 깔아보기로 마음을 먹었다.
1. 워크밴치 삭제하기
그냥 삭제하기 눌러서 휴지통 보내고 휴지통에서 지우면 된다.
2. 나는 brew를 통해 깔았기에 아래처럼 mysql을 지워주고, 다시 깔아준다.
GitHub - rangyu/TIL: 오늘 내가 배운 것 (Today I Learned)
오늘 내가 배운 것 (Today I Learned). Contribute to rangyu/TIL development by creating an account on GitHub.
github.com
mysql 서비스 시작하기까지만 그대로 따라했다!
MySQL 프로세스 죽이기
- homebrew로 설치했을 경우
brew services stop mysql
- launchctl을 등록했다면 내리기
sudo launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
관련 파일 삭제하기
- 설치 경로 확인하기
which mysql
/usr/local/bin/mysql
- homebrew로 삭제하기
brew uninstall --force mysql
혹은
brew uninstall mysql --ignore-dependencies
brew remove mysql
brew cleanup
- 다음의 라인을 한줄씩 입력해서 삭제한다.
sudo rm -rf /usr/local/mysql
sudo rm -rf /usr/local/bin/mysql
sudo rm -rf /usr/local/var/mysql
sudo rm -rf /usr/local/Cellar/mysql
sudo rm -rf /usr/local/mysql*
sudo rm -rf /tmp/mysql.sock.lock
sudo rm -rf /tmp/mysqlx.sock.lock
sudo rm -rf /tmp/mysql.sock
sudo rm -rf /tmp/mysqlx.sock
sudo rm ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
sudo rm -rf /Library/StartupItems/MySQLCOM
sudo rm -rf /Library/PreferencePanes/My*
완전 삭제한 이후 컴퓨터를 재부팅한다. (중요)
재부팅 안하면, 설치 잘 안됨
homebrew로 재설치하기
- mysql 재설치
brew install mysql
- mysql 서비스 시작하기
brew services start mysql
3. 워크밴치 다시 깔기
https://downloads.mysql.com/archives/workbench/
MySQL :: Download MySQL Workbench (Archived Versions)
Please note that these are old versions. New releases will have recent bug fixes and features! To download the latest release of MySQL Workbench, please visit MySQL Downloads. MySQL open source software is provided under the GPL License.
downloads.mysql.com
나는 8.0.21 버전을 쓴다.
연결 완료! ㅎㅎ
'BE > MySQL' 카테고리의 다른 글
[SQL] 날짜 데이터 추출 /포맷, NULL 값 제외 (0) | 2023.05.18 |
---|---|
[MYSQL] JAVA - eclipse 연동법 (0) | 2023.03.31 |
[MySQL] DCL(Data Control Language) 데이터 제어어 명령어 모음 (0) | 2023.03.31 |
[MySQL] DML(Data Manipulation Language) 데이터 조작어 명령어 모음 (0) | 2023.03.31 |
[MySQL] DDL(Data Definination Language) 데이터 정의어 명령어 모음 (0) | 2023.03.31 |