You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -243,6 +243,8 @@ types_mapping: # optional
243
243
244
244
ignore_deletes: false # optional, set to true to ignore DELETE operations
245
245
246
+
mysql_timezone: 'UTC'# optional, timezone for MySQL timestamp conversion (default: 'UTC')
247
+
246
248
```
247
249
248
250
#### Required settings
@@ -267,6 +269,7 @@ ignore_deletes: false # optional, set to true to ignore DELETE operations
267
269
- `http_host`, `http_port` - http endpoint to control replication, use `/docs` for abailable commands
268
270
- `types_mappings`- custom types mapping, eg. you can map char(36) to UUID instead of String, etc.
269
271
- `ignore_deletes`- when set to `true`, DELETE operations in MySQL will be ignored during replication. This creates an append-only model where data is only added, never removed. In this mode, the replicator doesn't create a temporary database and instead replicates directly to the target database.
272
+
- `mysql_timezone`- timezone to use for MySQL timestamp conversion to ClickHouse DateTime64. Default is `'UTC'`. Accepts any valid timezone name (e.g., `'America/New_York'`, `'Europe/London'`, `'Asia/Tokyo'`). This setting ensures proper timezone handling when converting MySQL timestamp fields to ClickHouse DateTime64 with timezone information.
0 commit comments