Detect Mysql Record changing and push it to Remote Server

37 views
Skip to first unread message

Thanh Nguyenpham

unread,
Jun 27, 2016, 12:30:17 AM6/27/16
to nodejs
Hi all,

I'm a new to nodejs and I have an project with requirements as bellow:

Uisng Nodejs for detect changing from Local Mysql Server and the push the changing to remote server.

My Model:
 Mysql Server -> Nodejs (using Mysql Event-> Remote Server.

I'm hear about mysql-events listening bi-log of Mysql Server, I use it and I can get insert, delete,  updates queries  but I have an problem:
 - How can we re-read bin-log and get the missing records then resend it to  remote Server when  (Node js down and missing new  record changing from server)

Any help is appreciated !

Thanks  and regards! 
Reply all
Reply to author
Forward
0 new messages