Database syncing

  • 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?

  • Qt Champions 2017

    I dont think there is. At least not mentioned in the docs.

    Is 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:

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.