본문 바로가기
Database

[MySql] Cannot create PoolableConnectionFactory (Unable to load authentication plugin 'caching_sha2_password'.)- 오류

by 코딩하는 원숭이 2022. 9. 28.

웹 테스트를 진행하기 위해 mysql을 붙여서 테스트를 하던 중 만난 에러이다.

 

해결방법은 다음과 같다.

 

1. MySQL Command Line Client실행

 

2. 로그인을 한뒤

 

3. select host, user, plugin, authentication_string, password_last_changed from user; 입력

 

4.  alter user '자신의계정아이디'@'localhost' identified with mysql_native_password by '자신의계정비밀번호'

댓글