티스토리 뷰

* 개요 

MySQL 사용하는 웹앱에서 DB 접속하지 못하고 다음 오류 발생

...

Client does not support authentication protocol requested by server; consider upgrading MySQL client

Cause: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Client does not support authentication protocol requested by server; consider upgrading MySQL client)

 

 

* 원인 

 MySQL 8은 로그인 정보를 암호화하여 보내도록 설정이 가능

암호화 없이 로그인 하려할때 발생

 

* 해결

MySQL Installer 구동

MySQL Server 선택 > Reconfiguration(버튼 )

Next 로 진행하다가 Authentication Method에서

Use Legacy .... 로 변경 저장 

(기존은 Use Strong Password Encryption for Authentication 으로 선택되어 있음)

https://www.inflearn.com/questions/3637

불러오는 중입니다...

 

 

공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
more
«   2024/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
글 보관함