Error when connecting dm to PolarDB-X 2.0

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: dm连接PolarDB-X 2.0时报错

| username: Hacker_zsWyFvBo

Bug Report
Clearly and accurately describe the issue you found. Providing any steps to reproduce the problem can help the development team address the issue promptly.
[TiDB Version] v6.5.0
[Impact of the Bug]
Cannot proceed
[Possible Steps to Reproduce the Issue]
Add PolarDB-X 2.0 data source
Configure the synchronization task, and an error occurs at this point
[Unexpected Behavior Observed]
Error when running check-task:
{
“result”: false,
“msg”: “[code=10001:class=dm-master:scope=upstream:level=high], Message: fail to initialize checker: database driver error, RawCause: sql: expected 3 destination arguments in Scan, not 2, Workaround: Please check the database connection and the database config in configuration file.”
}
[Expected Behavior]

[Related Components and Specific Versions]
dm v6.5.0
[Other Background Information or Screenshots]
Such as cluster topology, system and kernel versions, application app information, etc.; if the issue is related to SQL, please provide the SQL statements and related table schema information; if there are critical errors in the node logs, please provide the relevant node log content or files; if some business-sensitive information is inconvenient to provide, please leave contact information, and we will communicate with you privately.

| username: weixiaobing | Original post link

Check if there is an issue with the configuration file.

| username: xfworld | Original post link

Come on, upload some information to help with the diagnosis.

| username: 我是咖啡哥 | Original post link

Missing configuration.