IDEA报Could not get JDBC Connection; nested exception is java.sql.SQLException: The server time zone value '�й���׼ʱ��' is unrecognized or represents more than one time zone.

在url中添加:

...?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=UTC&rewriteBatchedStatements=true

 

 

 

感谢:https://blog.csdn.net/qq892628217/article/details/89715969

posted @ 2020-12-11 12:32  小庄的blog  阅读(237)  评论(0编辑  收藏  举报