Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- git pull
- 아임포트
- Spring Boot
- json string
- 오블완
- window11
- snake case
- window11 Education
- github
- IAMPORT
- git pull --rebase
- java
- window10 Education
- 윈도우10 Education
- 취성패
- 티스토리챌린지
- 취업
- 런던뮤지컬
- 방송대
- 운영체제
- git 설정
- camel case
- ObjectMapper
- git
- vmware workstation player
- 자바
- 정처기
- window10
- 소비통장
- 방통대
Archives
- Today
- Total
솔솔 개발블로그
[AWS RDS] RDS 연결 오류 - ERROR 2059 (HY000): Authentication plugin 'mysql_native_password' cannot be loaded 본문
프로그래밍/BUILD DEPLOY
[AWS RDS] RDS 연결 오류 - ERROR 2059 (HY000): Authentication plugin 'mysql_native_password' cannot be loaded
솔솔바람개발 2024. 10. 20. 22:28반응형
RDS 생성 후, 내 mac 터미널에서 RDS mysql에 연결하려니 아래와 같은 에러가 났다.
ERROR 2059 (HY000): Authentication plugin 'mysql_native_password' cannot be loaded: dlopen(/opt/homebrew/Cellar/mysql/9.0.1_3/lib/plugin/mysql_native_password.so, 0x0002): tried: '/opt/homebrew/Cellar/mysql/9.0.1_3/lib/plugin/mysql_native_password.so' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/mysql/9.0.1_3/lib/plugin/mysql_native_password.so' (no such file), '/opt/homebrew/Cellar/mysql/9.0.1_3/lib/plugin/mysql_native_password.so' (no such file)
원인을 찾아봐도 어디에도 답이 안나오던 와중에, 내 local mac mysql 버전과 rds 버전이 다르다는 것이 생각았다.
- local MAC : mysql9
- RDS : mysql8
그래서 로컬에 mysql8을 재설치 하기로 함.
# 기존 설치 삭제 - 최신버전 mysql9에서 rds mysql8 이 연결이 안됨.
brew uninstall mysql
# 8.0으로 재설치
brew install mysql@8.0
# mysql로 rds 연결 -> 연결 가능한거 확인.
mysql -h 호스트명 -u admin -p
# 로컬 mysql 시작
brew services restart mysql@8.0
# mysql이 잘 설치된건지 brew 목록 확인
brew servies list
# mysql 서버 실행
mysql.server start
이후에 연결하면 잘 연결됨
반응형
'프로그래밍 > BUILD DEPLOY' 카테고리의 다른 글
[AWS] MAC에서 EC2 연결하기 (터미널) (2) | 2024.10.22 |
---|---|
[AWS] Elastic IPs(탄력적 IP) 생성 및 EC2 연결 (프리티어) + 탄력적 IP 삭제 (0) | 2024.10.22 |
[AWS] 가비아 도메인 구매 및 ROUTE 53 연결 + 과금 (2) | 2024.10.22 |
[AWS RDS] 새로운 계정으로 애플리케이션 접속하기 (0) | 2024.10.22 |
[CICD] github actions 변수 사용하기 (env 파일, secrets and variables) (0) | 2024.10.20 |
Comments