Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

启动syncer时报错404 page not found #4

Open
ghost opened this issue Jan 18, 2019 · 2 comments
Open

启动syncer时报错404 page not found #4

ghost opened this issue Jan 18, 2019 · 2 comments

Comments

@ghost
Copy link

ghost commented Jan 18, 2019

[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

@flike
Copy link
Owner

flike commented Jan 19, 2019

端口是否正确?

@flike
Copy link
Owner

flike commented Jan 19, 2019

我通过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}%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant