Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure time zone: mention system_time_zone #6793

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions configure-time-zone.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ TiDB 还可以通过设置 session 变量 `time_zone` 为每个连接维护各
SET time_zone = timezone;
```

查看当前使用的时区的值
使用以下 SQL 语句查看当前全局时区、客户端时区和系统时区的值

{{< copyable "sql" >}}

```sql
SELECT @@global.time_zone, @@session.time_zone;
SELECT @@global.time_zone, @@session.time_zone, @@global.system_time_zone;
```

设置 `time_zone` 的值的格式:
Expand Down