Database syncing
Unsolved
General and Desktop
-
Hi,
we have central server and several client applications with their database. Client's apps can run offline and when they go online their database should sync with central server. Our database is relational.Are there some tools suitable to for syncing databases in Qt app?
-
@MartinD
Hi
I dont think there is. At least not mentioned in the docs.
http://doc.qt.io/qt-5/qtsql-module.htmlIs it 2 way sync or just getting a new db when online?
-
What DB are we talking about? if it's SQLite, it's just about sending a file over the network. FTP, HTTP or raw TCP works.
if the DB is more complex (MS SQL, MySQL, Postgre) then you have to use a proprietary "protocol". For example, for Postgre: https://www.postgresql.org/about/news/1579/