Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Database syncing
Forum Updated to NodeBB v4.3 + New Features

Database syncing

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 1.6k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MartinD
    wrote on 19 Jun 2017, 15:51 last edited by
    #1

    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?

    M 1 Reply Last reply 19 Jun 2017, 15:53
    0
    • M MartinD
      19 Jun 2017, 15:51

      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?

      M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 19 Jun 2017, 15:53 last edited by
      #2

      @MartinD
      Hi
      I dont think there is. At least not mentioned in the docs.
      http://doc.qt.io/qt-5/qtsql-module.html

      Is it 2 way sync or just getting a new db when online?

      1 Reply Last reply
      2
      • V Offline
        V Offline
        VRonin
        wrote on 19 Jun 2017, 15:57 last edited by
        #3

        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/

        "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
        ~Napoleon Bonaparte

        On a crusade to banish setIndexWidget() from the holy land of Qt

        1 Reply Last reply
        4

        1/3

        19 Jun 2017, 15:51

        • Login

        • Login or register to search.
        1 out of 3
        • First post
          1/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved