Skip to content

Commit

Permalink
Configure time zone: mention system_time_zone (#6793)
Browse files Browse the repository at this point in the history
  • Loading branch information
en-jin19 committed Aug 5, 2021
1 parent 619b0e7 commit ddce068
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit ddce068

Please sign in to comment.