spring boot 시작 오류 서버 시간 대 값'й���׼ʱ��' is unrecognized or represents more than one

spring boot 1.x 2.x 를 전환 한 후 시작 하면 다음 과 같은 오류 가 발생 합 니 다.
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.

제 가 여기 서 전환 한 spring boot 버 전 은 2.2.4.RELEASE 입 니 다. 
이 중 통 합 된 mysql 연결기 mysql-connector-java 가 사용 하 는 버 전 은 8.0.19 이기 때문에 이 오 류 를 보고 합 니 다
해결 방안:
    1.다른 버 전의 my sql connector 를 자신의 데이터베이스 버 전에 따라 설정 할 수 있 습 니 다.
    2.또는 spring boot 설정 파일 에 datasource url 에 server Timezone=UTC 인 자 를 추가 합 니 다.그 중에서 UTC 는 표준 세계 시간 을 통일 합 니 다.
  datasource:
    name: dev
    url: jdbc:mysql://127.0.0.1:3306/leopard?serverTimezone=UTC&useUnicode=true&charaterEncoding=utf-8&useSSL=false
    username: root
    password: 123456

좋은 웹페이지 즐겨찾기