티스토리 뷰

*

com.mysql.cj.exceptions.InvalidConnectionAttributeException: The server time zone value 'µµÄì Ç¥ÁؽÃ' is unrecognized or represents more than one time zone. You must configure either the server or JDBC



* 해결

jdbc URL 에 serverTimeZone=UTC 추가


jdbc:mysql://192.168.123.130:3316/dbName?autoReconnect=true&useUnicode=true&characterEncoding=utf8&serverTimezone=UTC



- hibernate 라면 hibernate.cfg.xml 과 root-context.xml 두군데 세션 팩토리 정의 부분에 추가



https://desty.github.io/2016/08/14/mysql-jdbc-timezone-issue





* 참고 : MySQL Timezone 설정


http://dogcowking.tistory.com/179

공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
more
«   2024/03   »
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
글 보관함