【TiDB 使用环境】测试
【TiDB 版本】V7.5.1
【操作系统】Centos7.9
【部署方式】
【集群数据量】
【集群节点数】
【问题复现路径】
【遇到的问题:】
上游: mysql5.7.44
TiDB: v7.5.1
DM CTL : 8.5.1
start 任务时 提示
{
“result”: true,
“msg”: “”,
“sources”: [
{
“result”: false,
“msg”: “[code=38032:class=dm-master:scope=internal:level=high], Message: some error occurs in dm-worker: ErrCode:32001 ErrClass:"dump-unit" ErrScope:"internal" ErrLevel:"high" Message:"mydumper/dumpling runs with error, with output (may empty): " RawCause:"sql: SELECT VARIABLE_NAME
,VARIABLE_VALUE
FROM information_schema
.GLOBAL_STATUS
LIMIT 1, args: : Error 3167 (HY000): The ‘INFORMATION_SCHEMA.GLOBAL_STATUS’ feature is disabled; see the documentation for ‘show_compatibility_56’" , Workaround: Please execute query-status
to check status.”,
“source”: “mysql1289”,
“worker”: “dm-192.168.12.89-8262”
}
],
“checkResult”: "pre-check is passed. "
}
【资源配置】
【 ERROR 报错的日志】
SELECT VARIABLE_NAME
,VARIABLE_VALUE
FROM information_schema
.GLOBAL_STATUS
LIMIT 1
feature is disabled
这个mysql5.7.44 版本测试库是新安装的 , 上面的执行SQL的确会出现错误提示。但是不能理解的有两个点,
第一个是 show_compatibility_56 是对mysql5.6的兼容设置 ,可我的库是5.7.44 ,版本不对。
第二个是 生产环境mysql版本是5.7.25 。生产环境做了很多同步任务,都没有出过上面的错误提示。而更高版本的却出现了
【其他附件:截图/日志/监控】