问题
java.sql.SQLException: The server time zone value 'PDT' 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.
Postman结果
解决方法:
配置application.properties中添加
spring.datasource.url=jdbc:mysql://192.168.152.133:3306/newopen5d?useUnicode=true&characterEncoding=utf-8&serverTimezone=UTC
&serverTimezone=UTC 时区
查看postman结果