Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: dm停止重启后报错是什么问题,dm display都是正常的
【TiDB Usage Environment】Production Environment / Testing / PoC
【TiDB Version】
【Reproduction Path】What operations were performed when the issue occurred
【Encountered Issue: Issue Phenomenon and Impact】
【Resource Configuration】
【Attachments: Screenshots / Logs / Monitoring】
Check the DM logs, specifically the master node’s logs.
Error Investigation:
Method 1: Execute the query-status command to check the task running status and related error output. For example: tiup dmctl --master-addr 192.168.0.100:8261 query-status task3.yaml
Method 2: If Prometheus and Grafana were correctly deployed when using TiUP to deploy the DM cluster, such as Grafana’s address being 172.16.10.71, you can open http://172.16.10.71:3000 in a browser to enter Grafana, select the DM Dashboard to view DM-related monitoring items. Refer to monitoring and alert settings for specific monitoring metrics.
Method 3: Check the DM running status and related errors through log files.
DM-master log directory: Set through the DM-master process parameter --log-file. If DM is deployed using TiUP, the log directory is located at {log_dir}.
DM-worker log directory: Set through the DM-worker process parameter --log-file. If DM is deployed using TiUP, the log directory is located at {log_dir}.
Check the logs, can’t figure out anything without them.
Check if there are any anomalies in the configuration file.
This 1146 error seems to come from the upstream MySQL. It might be an issue with the table lookup in the upstream MySQL. You can check the DM logs and investigate the corresponding SQL execution in the upstream.
The error code is 1146, which usually means that the corresponding database table cannot be found (Table Not Exists).
- Please check if the upstream MySQL has specified the database table to be synchronized.
- Confirm whether the database table name is correctly written in the synchronization stream.
The MySQL system table was accidentally deleted.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.