【 使用环境 】生产环境
【 OB 】Oceanbase版本为2.4.0, Oceanbase JDBC驱动版本为2.4.0
【 使用版本 】Oceanbase版本为2.4.0,
【问题描述】清晰明确描述问题
- 客户端与Oceanbase分别在不同时区
- Oceanbase版本为
3.1.2_20210813154332-67d24dea88266f5cf327b341afafc4546ddbc8ba(Aug 13 2021 16:30)
【复现路径】问题出现前后相关操作
应用加载Oceanbase驱动,尝试连接Oceanbase
【问题现象及影响】
应用使用驱动连接至Oceanbase时报错
Could not connect to 10.136.10.249:2883 :(conn=441187) The server time_zone ‘GMT+8:00’ cannot be parsed. The server time zone must defined in the jdbc url string with the ‘serverTimezone’ parameter (or server time zone must be defined explicitly with sessionVariables=time_zone=‘Canada/Atlantic’ for example). See java.util.TimeZone#getAvailableDs() for available TimeZone,depending on your JRE implementation.
【附件】