
[MySQL 8] Public Key Retrieval is not allowed
·
Etc/TroubleShooting
MySQL 8버전부터 url, user, password를 제외하고도 useSSL 옵션에 대한 설정이 필요해졌습니다. 기존 : jdbc:mysql://localhost:3306/dbtest 해결 : jdbc:mysql://localhost:3306/dbtest?useSSL=false&allowPublicKeyRetrieval=true 위에 문제를 해결하니 또다른 오류 발생... java.sql.SQLException: The server time zone value 'KST' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the 'serverTimezo..