nested exception is 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.] with root cause
根据报错信息可以知道,我们需要指定一个特定的时区
所以只需要在配置文件。yml或者propertis中的url加上serverTimezone=Asia/Shanghai即可
例如我的配置
搞定!
SQLException: The server time zone value ‘�й���ʱ�‘ is unrecognized or represents more than one time
关键词由优快云通过智能技术生成