From 6bb095c6c3029e62cfb6c6650f6065727eb72694 Mon Sep 17 00:00:00 2001 From: yaoq Date: Thu, 29 Sep 2022 18:15:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B9=B3=E8=B0=B7=E6=94=BF=E5=8D=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- smtweb-framework/canal/client/src/main/resources/client.properties | 4 ++-- .../canal/server/src/main/resources/example/instance.properties | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/smtweb-framework/canal/client/src/main/resources/client.properties b/smtweb-framework/canal/client/src/main/resources/client.properties index fc57cf1..61fb744 100644 --- a/smtweb-framework/canal/client/src/main/resources/client.properties +++ b/smtweb-framework/canal/client/src/main/resources/client.properties @@ -9,9 +9,9 @@ canal.server.port=11111 canal.server.username= canal.server.password= # 数据库匹配规则.*\\..*, scmz\\..* -canal.server.filter=tzrs\\..* +canal.server.filter=pgzx\\..* # 文件存放路径 E:/canalFile -canal.file.path=E:/canalFile +canal.file.path=/data/canalFile # mysql、dmsql、kbsql、oracle diff --git a/smtweb-framework/canal/server/src/main/resources/example/instance.properties b/smtweb-framework/canal/server/src/main/resources/example/instance.properties index f7361e4..e998b74 100644 --- a/smtweb-framework/canal/server/src/main/resources/example/instance.properties +++ b/smtweb-framework/canal/server/src/main/resources/example/instance.properties @@ -6,7 +6,7 @@ canal.instance.mysql.slaveId=2 canal.instance.gtidon=false # 主库信息 # 主库地址及端口 -canal.instance.master.address=172.28.123.25:3306 +canal.instance.master.address=127.0.0.1:3306 #canal.instance.master.journal.name= #canal.instance.master.position= #canal.instance.master.timestamp= @@ -30,14 +30,14 @@ canal.instance.tsdb.enable=true # username/password canal.instance.dbUsername=root -canal.instance.dbPassword=root +canal.instance.dbPassword=Jjkj@2022 canal.instance.connectionCharset = UTF-8 # enable druid Decrypt database password canal.instance.enableDruid=false #canal.instance.pwdPublicKey=MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBALK4BUxdDltRRE5/zXpVEVPUgunvscYFtEip3pmLlhrWpacX7y7GCMo2/JM6LeHmiiNdH1FWgGCpUfircSwlWKUCAwEAAQ== # table regex -canal.instance.filter.regex=tzrs\\..* +canal.instance.filter.regex=pgzx\\..* # table black regex canal.instance.filter.black.regex=mysql\\.slave_.* # table field filter(format: schema1.tableName1:field1/field2,schema2.tableName2:field1/field2)