mysql 8.0이상 Timezone 관련 에러 발생시

eunmo hong·2019년 6월 23일
0

MySQL 8.0 이상 버전Timezone, SSL관련 에러 발생할 경우 다음과 같이 QueryString을 추가한다.

jdbc:mysql://localhost:3306/firstDB?serverTimezone=Asia/Seoul&useSSL=false

Class.forName에 들어갈 드라이버명은 "com.mysql.cj.jdbc.Driver"로 한다.

profile
안녕하세요!

0개의 댓글