使用mysql-connector-java-8.0.9-rc出现以下异常:
解决方案:
在url后面添加&serverTimezone=GMT%2B8,如:
url: jdbc:mysql://localhost:3306/activiti?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8
mysql时区异常
最新推荐文章于 2024-07-28 15:05:04 发布
使用mysql-connector-java-8.0.9-rc出现以下异常:
解决方案:
在url后面添加&serverTimezone=GMT%2B8,如:
url: jdbc:mysql://localhost:3306/activiti?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8