๐ŸŒท๐ŸŒผ๋ชจ์—ฌ๋ด์š” ๊ฐœ๋ฐœ์˜์ˆฒ๐ŸŒท๐ŸŒผ

[MySQL, Spring] Unable to load authentication plugin 'caching_sha2_password' แ„’แ…ขแ„€แ…งแ†ฏ แ„‡แ…กแ†ผแ„‡แ…ฅแ†ธ ๋ณธ๋ฌธ

๊ฐœ๋ฐœ/SQL

[MySQL, Spring] Unable to load authentication plugin 'caching_sha2_password' แ„’แ…ขแ„€แ…งแ†ฏ แ„‡แ…กแ†ผแ„‡แ…ฅแ†ธ

์š”์ผ์ด 2022. 10. 21. 00:22
๋ฐ˜์‘ํ˜•

mysql 8์„ Spring์— ์‚ฌ์šฉํ•˜๋ฉด์„œ ์—๋Ÿฌ๊ฐ€ ๋‚ฌ๋‹ค.

Unable to load authentication plugin 'caching_sha2_password' ์ธ๋ฐ

์ด๋Š”  mysql์ด 8๋ฒ„์ „์œผ๋กœ ์˜ฌ๋ผ๊ฐ€๋ฉด์„œ ๊ณ„์ • ๋น„๋ฐ€๋ฒˆํ˜ธ๋ฅผ RSA๋กœ ์ƒ๊ธด ์ด์Šˆ์ธ๋ฐ 

 

ํ•ด๊ฒฐ๋ฐฉ๋ฒ•์€

pom.xml์—์„œ

mysql-connextor-java์˜ ๋ฒ„์ „์„ ์˜ฌ๋ ค์ฃผ๋ฉด ํ•ด๊ฒฐ๋œ๋‹ค.

Comments