<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[QSql connection - maintaining keep alive]]></title><description><![CDATA[<p dir="auto">Hi Team,</p>
<p dir="auto">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.</p>
<p dir="auto">Thank You</p>
]]></description><link>https://forum.qt.io/topic/147822/qsql-connection-maintaining-keep-alive</link><generator>RSS for Node</generator><lastBuildDate>Wed, 16 Sep 2026 01:26:47 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/147822.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 11 Aug 2023 09:16:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to QSql connection - maintaining keep alive on Fri, 11 Aug 2023 09:30:06 GMT]]></title><description><![CDATA[<p dir="auto">For MySQL there are some <a href="https://doc.qt.io/qt-6/qsqldatabase.html#setConnectOptions" target="_blank" rel="noopener noreferrer nofollow ugc">options</a> for this iirc.</p>
]]></description><link>https://forum.qt.io/post/768398</link><guid isPermaLink="true">https://forum.qt.io/post/768398</guid><dc:creator><![CDATA[Christian Ehrlicher]]></dc:creator><pubDate>Fri, 11 Aug 2023 09:30:06 GMT</pubDate></item><item><title><![CDATA[Reply to QSql connection - maintaining keep alive on Fri, 11 Aug 2023 09:38:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/krishna-b">@<bdi>Krishna-B</bdi></a><br />
Not at the QSql/Qt level, no.  Whether your chosen SQL connector offers this I don't know (see <a class="plugin-mentions-user plugin-mentions-a" href="/user/christian-ehrlicher">@<bdi>Christian-Ehrlicher</bdi></a>'s post below, depends on which SQL).</p>
<p dir="auto">But I have not heard of doing such a thing anyway.</p>
]]></description><link>https://forum.qt.io/post/768394</link><guid isPermaLink="true">https://forum.qt.io/post/768394</guid><dc:creator><![CDATA[JonB]]></dc:creator><pubDate>Fri, 11 Aug 2023 09:38:39 GMT</pubDate></item></channel></rss>