[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";
'디버깅' 카테고리의 다른 글
☃Requested internal only, but not enough space'' (0) | 2020.12.26 |
---|---|
java.sql.SQLException: No suitable driver (0) | 2020.12.24 |
c# 외부 파일(프로세스) 불러와서 실행하기 (0) | 2020.12.07 |
마우스 Win api 좌표 넘겨 받을때 좌표값의 오류 (0) | 2019.09.18 |
이미지 파일 없을시 발생하는 error (0) | 2019.09.03 |