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. QSql connection - maintaining keep alive
Qt 6.11 is out! See what's new in the release blog

QSql connection - maintaining keep alive

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 365 Views
  • 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.
  • K Offline
    K Offline
    Krishna B
    wrote on last edited by
    #1

    Hi Team,

    Do we have an option to maintain a qsql connection as keep alive to mitigate idle db connections closing issue when Firewall is enabled between application server and Database server.

    Thank You

    JonBJ 1 Reply Last reply
    0
    • K Krishna B

      Hi Team,

      Do we have an option to maintain a qsql connection as keep alive to mitigate idle db connections closing issue when Firewall is enabled between application server and Database server.

      Thank You

      JonBJ Online
      JonBJ Online
      JonB
      wrote on last edited by JonB
      #2

      @Krishna-B
      Not at the QSql/Qt level, no. Whether your chosen SQL connector offers this I don't know (see @Christian-Ehrlicher's post below, depends on which SQL).

      But I have not heard of doing such a thing anyway.

      Christian EhrlicherC 1 Reply Last reply
      0
      • JonBJ JonB

        @Krishna-B
        Not at the QSql/Qt level, no. Whether your chosen SQL connector offers this I don't know (see @Christian-Ehrlicher's post below, depends on which SQL).

        But I have not heard of doing such a thing anyway.

        Christian EhrlicherC Offline
        Christian EhrlicherC Offline
        Christian Ehrlicher
        Lifetime Qt Champion
        wrote on last edited by
        #3

        For MySQL there are some options for this iirc.

        Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
        Visit the Qt Academy at https://academy.qt.io/catalog

        1 Reply Last reply
        2

        • Login

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