TiDB Time Zone Issues

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: tidb 时区问题

| username: love-cat

[TiDB Usage Environment] Production Environment
[TiDB Version] 5.2.2
[Reproduction Path] None
[Encountered Problem:] I scheduled the analyze table task to run between 1 AM and 3 AM, but it actually runs between 9 AM and 11 AM.
[Resource Configuration]
[Attachments: Screenshots/Logs/Monitoring]
I scheduled the analyze table task to run between 1 AM and 3 AM:
image

However, when I checked the dashboard, it shows that the task runs between 9 AM and 11 AM. I started checking the time zone settings and found them to be correct:
image

What could be the issue here? Has anyone encountered this before?

| username: Billmay表妹 | Original post link

Please note whether the time zone settings between the primary and replica databases are consistent.

Refer to the documentation:

| username: hey-hoho | Original post link

“Use it like this”

| username: love-cat | Original post link

Okay, thank you.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.