java.sql.SQLException
The server time zone value ‘�й���ʱ��’ is unrecognized or represents more than one time zone. You must…
JAVA连接Mysql数据库抛出以上异常 需在application.yml中加入
jdbc:mysql://localhost:3306/数据库?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC
问题解决。