G
G
German Jet2017-06-13 15:16:45
MySQL
German Jet, 2017-06-13 15:16:45

How to synchronize local database with remote?

Hello!
Such a task: on a computer (one), the operator drives data into a table. The Internet
is not always available on this computer. But if there is a connection, the local table must be synchronized
with the remote table. At the other end (manager), the data does not change, only for viewing, i.e.
synchronization in one direction (from the operator to the manager) is quite enough .
As I did now: for the operator I made a small program in Delphi, with an sqlite file,
I placed this file in Dropbox, I made a web interface for the manager, so that all sorts of selections by date, etc.
Question: what other options, preferably with a MySQL database? Because sqlite does not have a date field type, and you have to bother
with date conversion and sorting

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry Tallmange, 2017-06-13
@p00h

Obviously you need replication

P
Peter, 2017-06-13
@petermzg

Date - easily changed to bigint, save Epoch time

K
Konstantin Tsvetkov, 2017-06-13
@tsklab

How to synchronize local database with remote?
Use only remote, as you do. To improve, find a cloud that allows you to create a database in yourself, and not just store files.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question