11 Star 95 Fork 23

万里数据库 / gt-checksum

 / 详情

全库全表进行对比无法成功

待确认
缺陷
创建于  
2023-04-28 11:56

版本:gt-checksum-v1.2.1
MySQL版本:8.0.27
字符集:UTF8-mb4

测试过程
在进行比较两个实例的全库全表时候无法正常启动比对程序
命令如下

[root@VM-24-17-centos gt-checksum-1.2.1-linux-x86-64]# ./gt-checksum -S type=mysql,user=remote_user,passwd=remote_3,host=1.17,port=3307,charset=utf8mb4 -D type=mysql,user=checksum,user=remote_3,passwd=remote_user@123,host=10.17,port=3308,charset=utf8mb4 -t .  --ScheckMod loose -co struct -df file --ffn  ./pppp.sql
-- gt-checksum init configuration files -- 
-- gt-checksum init log files -- 
-- gt-checksum init check parameter --
-- gt-checksum init check table name -- 
gt-checksum report: check table is empty,please check the log for details!


尝试将 -t 参数设置为 . 相同报错
改成 %.% 报错略有不同,但仍不能比对
输入图片说明

评论 (2)

lee 创建了缺陷

指定 -t=. 试试看呢

需要使用*.*,而不是.或%.%

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(3)
8779455 greatsql 1615290631
Go
1
https://gitee.com/GreatSQL/gt-checksum.git
git@gitee.com:GreatSQL/gt-checksum.git
GreatSQL
gt-checksum
gt-checksum

搜索帮助