<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Keeping MySQL DB connection alive in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Keeping-MySQL-DB-connection-alive/m-p/2316588#M87121</link>
    <description>Hello,&lt;BR /&gt;I have a Talend job that executes a stored procedure. &amp;nbsp;The stored procedure takes a really long time to finish. &amp;nbsp;Due to this long processing time, the MySQL connection is lost and the job cannot gracefully complete. &amp;nbsp;I have ensured that all my connections are "using existing connections". &amp;nbsp;Does anyone know what I can do to keep the connection alive, indefinitely?&lt;BR /&gt;Thanks,&lt;BR /&gt;Zack</description>
    <pubDate>Wed, 01 Oct 2014 17:06:33 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2014-10-01T17:06:33Z</dc:date>
    <item>
      <title>Keeping MySQL DB connection alive</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Keeping-MySQL-DB-connection-alive/m-p/2316588#M87121</link>
      <description>Hello,&lt;BR /&gt;I have a Talend job that executes a stored procedure. &amp;nbsp;The stored procedure takes a really long time to finish. &amp;nbsp;Due to this long processing time, the MySQL connection is lost and the job cannot gracefully complete. &amp;nbsp;I have ensured that all my connections are "using existing connections". &amp;nbsp;Does anyone know what I can do to keep the connection alive, indefinitely?&lt;BR /&gt;Thanks,&lt;BR /&gt;Zack</description>
      <pubDate>Wed, 01 Oct 2014 17:06:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Keeping-MySQL-DB-connection-alive/m-p/2316588#M87121</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2014-10-01T17:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Keeping MySQL DB connection alive</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Keeping-MySQL-DB-connection-alive/m-p/2316589#M87122</link>
      <description>hi
&lt;BR /&gt;I thinks it's a time out problem.
&lt;BR /&gt;&amp;nbsp;you can modify behavior for an instance of connection throught url jdbc driver .
&lt;BR /&gt;for example, for any &amp;nbsp;timeout :
&lt;BR /&gt;
&lt;PRE&gt;jdbc:mysql://localhost:3306/mysql?connectTimeout=0&amp;amp;socketTimeout=0&amp;amp;autoReconnect=true&lt;/PRE&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, 'Trebuchet MS', arial, sans-serif"&gt;for more explaination :&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT face="Verdana, Trebuchet MS, arial, sans-serif"&gt;&lt;FONT size="1"&gt;&lt;A href="http://razorsql.com/docs/help_mysql.html" rel="nofollow noopener noreferrer"&gt;http://razorsql.com/docs/help_mysql.html&lt;/A&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT face="Verdana, Trebuchet MS, arial, sans-serif"&gt;&lt;FONT size="1"&gt;&lt;A href="https://dev.mysql.com/doc/connector-j/en/connector-j-reference-configuration-properties.html" rel="nofollow noopener noreferrer"&gt;https://dev.mysql.com/doc/connector-j/en/connector-j-reference-configuration-properties.html&lt;/A&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;FONT face="Verdana, Trebuchet MS, arial, sans-serif"&gt;&lt;FONT size="1"&gt;hope it helps&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;FONT face="Verdana, Trebuchet MS, arial, sans-serif"&gt;&lt;FONT size="1"&gt;regards&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT face="Verdana, Trebuchet MS, arial, sans-serif"&gt;&lt;FONT size="1"&gt;laurent&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Thu, 02 Oct 2014 09:38:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Keeping-MySQL-DB-connection-alive/m-p/2316589#M87122</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-02T09:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: Keeping MySQL DB connection alive</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Keeping-MySQL-DB-connection-alive/m-p/2316590#M87123</link>
      <description>Sometimes this does not help, if the server its self kills the connection. It is always a good design to keep the transaction as short as possible. You should consider to open and close the connection and reopen it again. As a database administrator I would not be happy to see connection open that long.</description>
      <pubDate>Thu, 02 Oct 2014 19:25:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Keeping-MySQL-DB-connection-alive/m-p/2316590#M87123</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-02T19:25:59Z</dc:date>
    </item>
  </channel>
</rss>

