Sem descrição

zhuhongbin edc8c208da Signed-off-by: zhuhongbin <kptzhu@163.com> há 2 anos atrás
.idea 55a962c0ed Signed-off-by: zhuhongbin <kptzhu@163.com> há 2 anos atrás
kpt 55a962c0ed Signed-off-by: zhuhongbin <kptzhu@163.com> há 2 anos atrás
logs 55a962c0ed Signed-off-by: zhuhongbin <kptzhu@163.com> há 2 anos atrás
pem 55a962c0ed Signed-off-by: zhuhongbin <kptzhu@163.com> há 2 anos atrás
pos 55a962c0ed Signed-off-by: zhuhongbin <kptzhu@163.com> há 2 anos atrás
.gitignore 5731a0b301 Signed-off-by: zhuhongbin <kptzhu@163.com> há 2 anos atrás
Consumer.log 55a962c0ed Signed-off-by: zhuhongbin <kptzhu@163.com> há 2 anos atrás
arm.bat 55a962c0ed Signed-off-by: zhuhongbin <kptzhu@163.com> há 2 anos atrás
canalservice_i.bat 55a962c0ed Signed-off-by: zhuhongbin <kptzhu@163.com> há 2 anos atrás
canalservice_r.bat 55a962c0ed Signed-off-by: zhuhongbin <kptzhu@163.com> há 2 anos atrás
config.ini 55a962c0ed Signed-off-by: zhuhongbin <kptzhu@163.com> há 2 anos atrás
go.mod 55a962c0ed Signed-off-by: zhuhongbin <kptzhu@163.com> há 2 anos atrás
go.sum 55a962c0ed Signed-off-by: zhuhongbin <kptzhu@163.com> há 2 anos atrás
go_build_datasync.exe 55a962c0ed Signed-off-by: zhuhongbin <kptzhu@163.com> há 2 anos atrás
linux64.bat 55a962c0ed Signed-off-by: zhuhongbin <kptzhu@163.com> há 2 anos atrás
main.go 55a962c0ed Signed-off-by: zhuhongbin <kptzhu@163.com> há 2 anos atrás
mysqldump.exe 55a962c0ed Signed-off-by: zhuhongbin <kptzhu@163.com> há 2 anos atrás
readme.txt edc8c208da Signed-off-by: zhuhongbin <kptzhu@163.com> há 2 anos atrás
win32.bat 55a962c0ed Signed-off-by: zhuhongbin <kptzhu@163.com> há 2 anos atrás
win64.bat 55a962c0ed Signed-off-by: zhuhongbin <kptzhu@163.com> há 2 anos atrás
y.sql 55a962c0ed Signed-off-by: zhuhongbin <kptzhu@163.com> há 2 anos atrás

readme.txt

1、在D:/TMRWatchWeb/TMRWatchDB/my.ini 中的[mysqld]段中添加
server_id = 1
log-bin = D:/TMRWatchWeb/TMRWatchDB/TMRWatchLog
binlog-do-db=tmrwatch
expire_logs_days=7
binlog_format=row

2、重启tmrwatchdb服务
3、将recweight表中的mind 设为主键
4、修改config.ini中的startPos = ,等号后面删除,即为重置上传。
5、修改config.ini中的nodevalue = hc ,hc改成对应牧场的编码
6、用管理员权限运行cmd
7、canalservice_i.bat 安装并启动服务