[JSP 오류] java.sql.SQLException: Unable to load authentication plugin 'caching_sha2_password'. mysql 에러


[JSP 오류] java.sql.SQLException: Unable to load authentication plugin 'caching_sha2_password'. mysql 에러

Authentication plugin 'caching_sha2_password'. mysql 에러 eclipse 에서 mysql 연동 시에 이런 오류를 발견할 때가 있다 그 이유는 바로 계정 권한 문제이다 그래서 현 ip에서 연결할 수 있는 권한 Alter문을 이용해야한다. 시작화면에서 command를 검색해서 위 프로그램을 실행한다 로그인을 한뒤 계정 권한을 허가하려하는 database를 선택한다. use 데이터베이스명; 그러고 ALTER USER '아이디'@'localhost' IDENTIFIED WITH mysql_native_password BY '비밀번호'; 를 입력해주면 끄읕! %작은 따옴표 빼지말자 % 아 위에 아이디와 비밀번호 부분은 자신의 mysql 아이디와 비번을 입력해줘야 한다. 그..


원문링크 : [JSP 오류] java.sql.SQLException: Unable to load authentication plugin 'caching_sha2_password'. mysql 에러