Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

Mysql Database replication and offline mode Retail use case

$
0
0

We have developed an online multi-retail web app using php/mysql Currently we would like to add an offline mode for the POS module.

Currently we have a desktop app that uses sql server locally. To sync, the app calls a REST api on the online server to fetch or send data. It has a lot of draw backs, and it is very hard to maintain.

Ideally, w'd like to have a local mysql database and setting up replication with the online database, but we never used replication before.

Does it solve the problem of syncing data in two directions ? offline ?

The thing is, we don't want to sync all data in the online database to the local one ( because it contains data of all the other retail stores ), example we only want data from some tables where a field store_id = 3 ( 3 being the local store id in a stores database )

Any help is appreciated.

Thanks


Viewing all articles
Browse latest Browse all 17268

Trending Articles