在连接的配置文件中,指定数据库位置的末尾加上serverTimezone=UTC
url: jdbc:mysql://localhost:3306/app?serverTimezone=UTC
首页 > 技术文章 > java连接mysql出现The server time zone value '�й���ʱ��' is unrecognized or represents more than...
xiuwenli 2019-08-30 15:03 原文
在连接的配置文件中,指定数据库位置的末尾加上serverTimezone=UTC
url: jdbc:mysql://localhost:3306/app?serverTimezone=UTC