配置SymmetricDS 3.15中间遇到的一些坑点

1.SymmetricDS 3.15 Tutorials中写的命令并不符合windows的语法,需要将命令调整成本系统的命令再去执行。
(1)cp corp-000.properties store-001.properties store-002.properties …/engines
windows用的是copy而非cp,并且一次只能复制一个
(2)…/bin/dbimport --engine corp-000 --format XML --alter-case create_sample.xml
所有的/在windows中都得替换成’\‘
2.sample案例中出现Error: java.sql.SQLSyntaxErrorException: Table ‘test_sym1.item_selling_price’ doesn’t exist这种表找不到的情况
请确定bin/symadmin --engine corp-000 reload-node 001这条命令是否执行并且命令行回复执行正确
3…/bin/dbimport --engine corp-000 insert_sample.sql这条命令是打开交互式 SQL 会话的命令
4.在自己编辑Sync URL的时候,即如下部分,

Sync URL where other nodes can contact this node to push/pull data or register.

sync.url=http://localhost:31415/sync/corp-000
端口号不要写3306,写8080或者31415,否则会出现目标节点连不上主节点的错误,即Unexpected error during registration: Received an unexpected response code of -1 from the server StackTraceKey [HttpException:2912363226]这个错误
5.编辑proprietaries文件时不要加大括号

  • 5
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值