Skip to content

Commit f63a0ca

Browse files
igorlukaninKSDaemon
authored andcommitted
Tiny edits
1 parent 27616b0 commit f63a0ca

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

docs/pages/product/configuration/data-sources/mysql.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ CUBEJS_DB_PASS=**********
3838
| `CUBEJS_DB_SSL` | If `true`, enables SSL encryption for database connections from Cube | `true`, `false` ||
3939
| `CUBEJS_CONCURRENCY` | The number of concurrent connections each queue has to the database. Default is `2` | A valid number ||
4040
| `CUBEJS_DB_MAX_POOL` | The maximum number of concurrent database connections to pool. Default is `8` | A valid number ||
41+
| `CUBEJS_DB_MYSQL_USE_NAMED_TIMEZONES` | The flag to use time zone names or numeric offsets for time zone conversion. Default is `false` | `true`, `false` ||
4142

4243
## Pre-Aggregation Feature Support
4344

docs/pages/reference/configuration/environment-variables.mdx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -665,13 +665,14 @@ The cluster name to use when connecting to [Materialize](/product/configuration/
665665

666666
## `CUBEJS_DB_MYSQL_USE_NAMED_TIMEZONES`
667667

668-
This flag controls how timezones are passed to CONVERT_TZ. If it is set to TRUE - timezone names will be used.
669-
IF it is set to FALSE - numeric offsets will be passed instead. To use named timezones, MySQL Server needs
668+
This flag controls how time zones conversion is done in the generated SQL for MySQL:
669+
- If it is set to `true`, time zone names are used. In this case, your MySQL server needs
670670
to be [configured][mysql-server-tz-support] properly.
671+
- If it is set to `false`, numeric offsets are used instead.
671672

672-
| Possible Values | Default in Development | Default in Production |
673-
| ------------------------------------- | ---------------------- | --------------------- |
674-
| Whether to use named timezones or not | `false` | `false` |
673+
| Possible Values | Default in Development | Default in Production |
674+
| --------------- | ---------------------- | --------------------- |
675+
| `true`, `false` | `false` | `false` |
675676

676677
## `CUBEJS_DB_SNOWFLAKE_ACCOUNT`
677678

0 commit comments

Comments
 (0)