JSP | 이클립스 스프링 mysql 연결 오류 import org.junit.Test;
페이지 정보
작성자 굿스웹 작성일20-01-16 14:10 조회576회 댓글0건관련링크
본문
오류
private static final String DRIVER = "com.mysql.cj.jdbc.Driver";
private static final String URL = "jdbc:mysql://localhost:3306/dokgol";
private static final String UID = "dokgol";
private static final String UPW = "1111";
결과
java.sql.SQLException: The server time zone value '´ëÇѹα¹ Ç¥ÁؽÃ' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support.
처리:
jdbc:mysql://localhost:3306/dokgol?serverTimezone=UTC
private static final String DRIVER = "com.mysql.cj.jdbc.Driver";
private static final String URL = "jdbc:mysql://localhost:3306/dokgol";
private static final String UID = "dokgol";
private static final String UPW = "1111";
결과
java.sql.SQLException: The server time zone value '´ëÇѹα¹ Ç¥ÁؽÃ' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support.
처리:
jdbc:mysql://localhost:3306/dokgol?serverTimezone=UTC
[주소복사] https://www.goodsweb.kr/?u=D4144Ky
SNS 알리기
핀터레스트
텔레그램로
블로그로
페이스북
트위터
카카오스토리
카톡 공유
관련 블로그
로딩중