Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 配置dm时, 有"short_error": "[types:1067]Invalid default value for 错误

[TiDB Usage Environment] Production Environment / Testing / PoC
[TiDB Version] 5.0.3
[Reproduction Path] Operations performed that led to the issue
[Encountered Issue: Issue Phenomenon and Impact]
[Resource Configuration]
[Attachments: Screenshots / Logs / Monitoring]
Both MySQL and TiDB fields are time123 timestamp NOT NULL DEFAULT ‘1970-01-01 08:00:01’
MySQL version 5.6
When configuring DM, the following error was reported:
"result": false,
"msg": "[code=26005:class=dm-master:scope=internal:level=medium], Message: fail to check synchronization configuration with type: check was failed, please see detail
detail: {
"results": [
{
"id": 32,
"name": "sharding table `xxx`.`xxx` consistency checking",
"desc": "check consistency of sharding table structures",
"state": "fail",
"errors": [
{
"severity": "fail",
"short_error": "[types:1067]Invalid default value for 'time123'"
}
],
"extra": "instance source_xxx on sharding `xxx`.`xxx`"
}
],
"summary": {
"passed": false,
"total": 33,
"successful": 32,
"failed": 1,
"warning": 0
}
}"