皕杰技术社区

 找回密码
 立即加入

扫一扫,访问微社区

QQ登录

只需一步,快速开始

查看: 539|回复: 1

配置数据源

[复制链接]
发表于 2022-2-8 17:55:48 | 显示全部楼层 |阅读模式
配置数据源时,出现这种错误。

连接数据库失败,请检查数据源配置(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.)。

发表于 2022-2-8 17:59:17 | 显示全部楼层
服务器时区值无法辨认或表示多个时区 如果你想使用时区支持 你必须通过服务器时区配置属性来配置服务器或JDBC驱动从而使用更具体的时区值,
在url后面加?serverTimezone=UTC。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即加入

本版积分规则

QQ|小黑屋|手机版|皕杰软件 ( 京ICP备14050931号 )

GMT+8, 2024-5-3 16:06 , Processed in 1.161094 second(s), 16 queries .

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表