Oralce链接配置时,提示时区错误,这个时区应该在哪调整呢?

Viewed 61
1 Answers

Either speak with your DBA to synchronize the DB's time zone (DBTIMEZONE) with the underlying OS' time zone, or set one chosen timezone in the [./connection.md](connection string):
timezone="Europe/Berlin"
(it is parsed with time.LoadLocation, so such names can be used, or local, or a numeric +0500 fixed zone).

啥,没明白意思,在哪里配置这个时区

你发的错误的日志提示了,我上面回答从哪里摘抄的,如果我看也是通过翻译了解下他说的方案,不过我这方面经验不多,也没现成环境测试不了效果,大佬可以探索一下,要是解决了顺便求个分享