使用IDEA编辑连接JDBC数据时,出现了如下错误:
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 specific time zone value if you want to utilize time zone support.
解决方法:
在自己的URL路径后面添加如下内容
?serverTimezone=UTC&useUnicode=true&characterEncoding=utf8
如图所示:
问题解决!