报错信息:
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.
原因:数据库和系统时区差异引起的问题。
改正示例(定义serverTimezone=UTC):jdbc:mysql://localhost:3306/shop?serverTimezone=UTC&characterEncoding=utf-8