kingbus icon indicating copy to clipboard operation
kingbus copied to clipboard

启动syncer时报错404 page not found

Open ghost opened this issue 6 years ago • 2 comments

[root@node04 mysql]# curl -H "Content-Type:application/json" -X PUT --data '{"syncer_id":1023306,"syncer_uuid":"274176a0-e96a-11e8-9645-000c293ddb5","mysql_addr":"192.168.73.102:3306","mysql_user":"repl","mysql_password":"Repl@2018","semi_sync":true}' http://192.168.73.104:9697/binlog/syncer/start 404 page not found

ghost avatar Jan 18 '19 03:01 ghost

端口是否正确?

flike avatar Jan 19 '19 06:01 flike

我通过docker-compose测试了一下,可以成功启动的,命令如下:

➜  ~ curl -H "Content-Type:application/json" -X PUT --data '{"syncer_id":1001,"syncer_uuid":"d7b9f94e-ef1c-11e8-8bbe-fa163e72d4ae","mysql_addr":"192.168.50.13:3309","mysql_user":"root","mysql_password":"kingbus","semi_sync":false}' http://127.0.0.1:5000/binlog/syncer/start
{"message":"success","data":0}%

flike avatar Jan 19 '19 06:01 flike