Нет описания

zhuhongbin edc8c208da Signed-off-by: zhuhongbin <kptzhu@163.com> 2 лет назад
.idea 55a962c0ed Signed-off-by: zhuhongbin <kptzhu@163.com> 2 лет назад
kpt 55a962c0ed Signed-off-by: zhuhongbin <kptzhu@163.com> 2 лет назад
logs 55a962c0ed Signed-off-by: zhuhongbin <kptzhu@163.com> 2 лет назад
pem 55a962c0ed Signed-off-by: zhuhongbin <kptzhu@163.com> 2 лет назад
pos 55a962c0ed Signed-off-by: zhuhongbin <kptzhu@163.com> 2 лет назад
.gitignore 5731a0b301 Signed-off-by: zhuhongbin <kptzhu@163.com> 2 лет назад
Consumer.log 55a962c0ed Signed-off-by: zhuhongbin <kptzhu@163.com> 2 лет назад
arm.bat 55a962c0ed Signed-off-by: zhuhongbin <kptzhu@163.com> 2 лет назад
canalservice_i.bat 55a962c0ed Signed-off-by: zhuhongbin <kptzhu@163.com> 2 лет назад
canalservice_r.bat 55a962c0ed Signed-off-by: zhuhongbin <kptzhu@163.com> 2 лет назад
config.ini 55a962c0ed Signed-off-by: zhuhongbin <kptzhu@163.com> 2 лет назад
go.mod 55a962c0ed Signed-off-by: zhuhongbin <kptzhu@163.com> 2 лет назад
go.sum 55a962c0ed Signed-off-by: zhuhongbin <kptzhu@163.com> 2 лет назад
go_build_datasync.exe 55a962c0ed Signed-off-by: zhuhongbin <kptzhu@163.com> 2 лет назад
linux64.bat 55a962c0ed Signed-off-by: zhuhongbin <kptzhu@163.com> 2 лет назад
main.go 55a962c0ed Signed-off-by: zhuhongbin <kptzhu@163.com> 2 лет назад
mysqldump.exe 55a962c0ed Signed-off-by: zhuhongbin <kptzhu@163.com> 2 лет назад
readme.txt edc8c208da Signed-off-by: zhuhongbin <kptzhu@163.com> 2 лет назад
win32.bat 55a962c0ed Signed-off-by: zhuhongbin <kptzhu@163.com> 2 лет назад
win64.bat 55a962c0ed Signed-off-by: zhuhongbin <kptzhu@163.com> 2 лет назад
y.sql 55a962c0ed Signed-off-by: zhuhongbin <kptzhu@163.com> 2 лет назад

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 安装并启动服务