No Description

baishaojie f6861f0127 消息推送 1 month ago
.idea dcf2cbd820 first commit 11 months ago
.vscode dcf2cbd820 first commit 11 months ago
datasync dcf2cbd820 first commit 11 months ago
kpt f6861f0127 消息推送 1 month ago
logs f6861f0127 消息推送 1 month ago
pem b890227db6 代码提交 5 months ago
pos f6861f0127 消息推送 1 month ago
vendor dcf2cbd820 first commit 11 months ago
1.sql dcf2cbd820 first commit 11 months ago
Consumer.log f6861f0127 消息推送 1 month ago
Consumer.log.1 f6861f0127 消息推送 1 month ago
Consumer.log.2 dcf2cbd820 first commit 11 months ago
Consumer.log.4 f6861f0127 消息推送 1 month ago
TMRWatchLog.000001 dcf2cbd820 first commit 11 months ago
arm.bat dcf2cbd820 first commit 11 months ago
canalservice f6861f0127 消息推送 1 month ago
canalservice.exe f6861f0127 消息推送 1 month ago
canalservice.zip dcf2cbd820 first commit 11 months ago
canalservice64send.exe f6861f0127 消息推送 1 month ago
canalservice_i.bat dcf2cbd820 first commit 11 months ago
canalservice_r.bat dcf2cbd820 first commit 11 months ago
config copy.ini b890227db6 代码提交 5 months ago
config-old-new.ini f6861f0127 消息推送 1 month ago
config.ini f6861f0127 消息推送 1 month ago
config2.ini dcf2cbd820 first commit 11 months ago
datasync.exe f6861f0127 消息推送 1 month ago
go.mod dcf2cbd820 first commit 11 months ago
go.sum dcf2cbd820 first commit 11 months ago
linux64.bat dcf2cbd820 first commit 11 months ago
main.go f6861f0127 消息推送 1 month ago
my.cnf dcf2cbd820 first commit 11 months ago
mysqldump.exe dcf2cbd820 first commit 11 months ago
readme.txt dcf2cbd820 first commit 11 months ago
test dcf2cbd820 first commit 11 months ago
win32.bat dcf2cbd820 first commit 11 months ago
win64.bat dcf2cbd820 first commit 11 months ago
y.sql dcf2cbd820 first commit 11 months ago

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