developmentnotepad.tistory.com/entry/JDBC-%EC%82%AC%EC%9A%A9-%EC%8B%9C-%EB%B0%9C%EC%83%9D%ED%95%98%EB%8A%94-%EC%98%A4%EB%A5%98

 

[Error] JDBC 사용 시 발생하는 오류

MySQL 8.0이상의 버전을 사용하였다. Tue Jan 29 20:27:28 KST 2019 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and..

developmentnotepad.tistory.com

버그 내용:

Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification

 

위의 링크를 참조하였고 

기존:

"jdbc:mysql://ip주소:포트번호/데이터베이스이름"

해결:

"jdbc:mysql://ip주소:포트번호/데이터베이스이름?serverTimezone=Asia/Seoul&useSSL=false";

 

+ Recent posts