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
MySQL converts TIMESTAMP values from the current time zone to UTC for storage, and back from UTC to the current time zone for retrieval. (This does not occur for other types such as DATETIME.)
The DATETIME type represents a local date and time such as "2018-01-13 09:48:27". As you can see, there is no time zone information. Such columns are converted into epoch milliseconds or microseconds based on the column’s precision by using UTC. The TIMESTAMP type represents a timestamp without time zone information. It is converted by MySQL from the server (or session’s) current time zone into UTC when writing and from UTC into the server (or session’s) current time zone when reading back the value. For example:
已知dtle kafka输出和dbz一致.
ghost
pushed a commit
that referenced
this issue
Feb 23, 2023
场景
有如下从MySQL经kafka最终复制到DB2的过程:
db.timezone
分别设为了+8和UTC结果
对于
db.timezone
的两种配置, 各有一部分数据类型是正确的.需要解释
db.timezone
是合理设置The text was updated successfully, but these errors were encountered: