<?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 Re: MySQL Communications link failure in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/MySQL-Communications-link-failure/m-p/2239811#M27489</link>
    <description>Hi,&lt;BR /&gt;I am sorry, I will not answer to your question but ask another one (I just started using Talend).&lt;BR /&gt;In fact, when I execute my job tMysqlInput &amp;gt; tMysqlOutput in order to make a replication between two Mysql databases, I get an error message that tells me "communications link failure".&lt;BR /&gt;Could you help me solve this problem?&lt;BR /&gt;Thank you very much!&lt;BR /&gt;Best regards,&lt;BR /&gt;Nizar.</description>
    <pubDate>Tue, 03 Aug 2010 09:20:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-08-03T09:20:06Z</dc:date>
    <item>
      <title>MySQL Communications link failure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MySQL-Communications-link-failure/m-p/2239810#M27488</link>
      <description>Hi, 
&lt;BR /&gt;I've a job with multiple database connexion to big mysql tables. When I run my job on talend run interface, my job completes without any problem. But when I try to run it after exporting it with the script and the *.jar, I get this exception:
&lt;BR /&gt;Exception in component tMysqlInput_7
&lt;BR /&gt;com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
&lt;BR /&gt;Last packet sent to the server was 456424 ms ago.
&lt;BR /&gt; at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
&lt;BR /&gt; at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
&lt;BR /&gt; at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
&lt;BR /&gt; at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
&lt;BR /&gt; at com.mysql.jdbc.Util.handleNewInstance(Util.java:353)
&lt;BR /&gt; at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
&lt;BR /&gt; at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2583)
&lt;BR /&gt; at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2871)
&lt;BR /&gt; at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:855)
&lt;BR /&gt; at com.mysql.jdbc.MysqlIO.nextRow(MysqlIO.java:1330)
&lt;BR /&gt; at com.mysql.jdbc.MysqlIO.readSingleRowSet(MysqlIO.java:2330)
&lt;BR /&gt; at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:427)
&lt;BR /&gt; at com.mysql.jdbc.MysqlIO.readResultsForQueryOrUpdate(MysqlIO.java:2035)
&lt;BR /&gt; at com.mysql.jdbc.MysqlIO.readAllResults(MysqlIO.java:1421)
&lt;BR /&gt; at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1772)
&lt;BR /&gt; at com.mysql.jdbc.Connection.execSQL(Connection.java:2430)
&lt;BR /&gt; at com.mysql.jdbc.Connection.execSQL(Connection.java:2359)
&lt;BR /&gt; at com.mysql.jdbc.Statement.executeQuery(Statement.java:1227)
&lt;BR /&gt; ...
&lt;BR /&gt;Any idea of the difference between the JDBC used in the run interface of talend and the one extracted wih the jobs ? or maybe this is a known issue that is caused by something else ? 
&lt;BR /&gt;Regards,
&lt;BR /&gt;PS: I'm using v2.3.3 with java</description>
      <pubDate>Sat, 16 Nov 2024 14:14:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MySQL-Communications-link-failure/m-p/2239810#M27488</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL Communications link failure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MySQL-Communications-link-failure/m-p/2239811#M27489</link>
      <description>Hi,&lt;BR /&gt;I am sorry, I will not answer to your question but ask another one (I just started using Talend).&lt;BR /&gt;In fact, when I execute my job tMysqlInput &amp;gt; tMysqlOutput in order to make a replication between two Mysql databases, I get an error message that tells me "communications link failure".&lt;BR /&gt;Could you help me solve this problem?&lt;BR /&gt;Thank you very much!&lt;BR /&gt;Best regards,&lt;BR /&gt;Nizar.</description>
      <pubDate>Tue, 03 Aug 2010 09:20:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MySQL-Communications-link-failure/m-p/2239811#M27489</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-08-03T09:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL Communications link failure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MySQL-Communications-link-failure/m-p/2239812#M27490</link>
      <description>@mlamrani I have the same problem :
&lt;BR /&gt; connected
&lt;BR /&gt;Exception in component tMysqlRow_1
&lt;BR /&gt;com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
&lt;BR /&gt;Last packet sent to the server was 19 ms ago.
&lt;BR /&gt; at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
&lt;BR /&gt; at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
&lt;BR /&gt; at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
&lt;BR /&gt; at java.lang.reflect.Constructor.newInstance(Unknown Source)
&lt;BR /&gt; at com.mysql.jdbc.Util.handleNewInstance(Util.java:353)
&lt;BR /&gt; at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
&lt;BR /&gt; at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2583)
&lt;BR /&gt; at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2871)
&lt;BR /&gt; at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1601)
&lt;BR /&gt; at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1710)
&lt;BR /&gt; at com.mysql.jdbc.Connection.execSQL(Connection.java:2430)
&lt;BR /&gt; at com.mysql.jdbc.Connection.execSQL(Connection.java:2359)
&lt;BR /&gt; at com.mysql.jdbc.Statement.execute(Statement.java:719)
&lt;BR /&gt; at etudes_production.tle_fin001_0_8.TLE_FIN001.tMysqlRow_1Process(TLE_FIN001.java:10847)
&lt;BR /&gt; at etudes_production.tle_fin001_0_8.TLE_FIN001.tWarn_13Process(TLE_FIN001.java:10644)
&lt;BR /&gt; at etudes_production.tle_fin001_0_8.TLE_FIN001.tWarn_14Process(TLE_FIN001.java:10541)
&lt;BR /&gt; at etudes_production.tle_fin001_0_8.TLE_FIN001.tFileInputDelimited_1Process(TLE_FIN001.java:10219)
&lt;BR /&gt; at etudes_production.tle_fin001_0_8.TLE_FIN001.tMysqlInput_1Process(TLE_FIN001.java:6238)
&lt;BR /&gt; at etudes_production.tle_fin001_0_8.TLE_FIN001.tMysqlConnection_1Process(TLE_FIN001.java:5719)
&lt;BR /&gt; at etudes_production.tle_fin001_0_8.TLE_FIN001.hOracleClose_1Process(TLE_FIN001.java:5485)
&lt;BR /&gt; at etudes_production.tle_fin001_0_8.TLE_FIN001.tWarn_12Process(TLE_FIN001.java:5350)
&lt;BR /&gt; at etudes_production.tle_fin001_0_8.TLE_FIN001.tWarn_11Process(TLE_FIN001.java:5256)
&lt;BR /&gt; at etudes_production.tle_fin001_0_8.TLE_FIN001.hOracleInput_1Process(TLE_FIN001.java:5045)
&lt;BR /&gt; at etudes_production.tle_fin001_0_8.TLE_FIN001.hOracleConnection_1Process(TLE_FIN001.java:17695)
&lt;BR /&gt; at etudes_production.tle_fin001_0_8.TLE_FIN001.runJobInTOS(TLE_FIN001.java:18088)
&lt;BR /&gt; at etudes_production.tle_fin001_0_8.TLE_FIN001.main(TLE_FIN001.java:17750)
&lt;BR /&gt;Caused by: java.io.EOFException
&lt;BR /&gt; at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1958)
&lt;BR /&gt; at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2372)
&lt;BR /&gt; ... 19 more
&lt;BR /&gt; disconnected
&lt;BR /&gt;
&lt;BR /&gt;I don't understand where it comes from.</description>
      <pubDate>Wed, 07 Sep 2011 08:36:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MySQL-Communications-link-failure/m-p/2239812#M27490</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2011-09-07T08:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL Communications link failure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MySQL-Communications-link-failure/m-p/2239813#M27491</link>
      <description>Hello, 
&lt;BR /&gt;if the error happens only when dealing with big queries (big number of records in the dataset) try to play with the "enable stream" advanced setting of the mysqlinput. 
&lt;BR /&gt;It did the trick for me. Reason is that apparently when it is off (or on, cannot remember) all tghe result is cache in memory before being passed to the next component... and if it does nto fit in memory you get some connection errors if I recall correctly</description>
      <pubDate>Wed, 07 Sep 2011 08:50:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MySQL-Communications-link-failure/m-p/2239813#M27491</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-07T08:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL Communications link failure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MySQL-Communications-link-failure/m-p/2239814#M27492</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Hello,&lt;BR /&gt;if the error happens only when dealing with big queries (big number of records in the dataset) try to play with the "enable stream" advanced setting of the mysqlinput.&lt;BR /&gt;It did the trick for me. Reason is that apparently when it is off (or on, cannot remember) all tghe result is cache in memory before being passed to the next component... and if it does nto fit in memory you get some connection errors if I recall correctly&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Thank you saburo for your answer. 
&lt;BR /&gt;Actually I use a "tMysqlOutput" that loads more than 3 million lines, then I use a "tMysqlRow" for an update on another table. Obviously the insertion of the 3 million lines goes well, but the error appears in the update.</description>
      <pubDate>Wed, 07 Sep 2011 09:23:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MySQL-Communications-link-failure/m-p/2239814#M27492</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2011-09-07T09:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL Communications link failure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MySQL-Communications-link-failure/m-p/2239815#M27493</link>
      <description>This error is passed up to Talend directly from the JDBC driver. This indicates that a TCP/IP connection could not be established to the target host. Check all host,ports, firewall settings. This is a communication/network issue. Test with a mysql-client via command line.</description>
      <pubDate>Wed, 07 Sep 2011 15:29:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MySQL-Communications-link-failure/m-p/2239815#M27493</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-07T15:29:11Z</dc:date>
    </item>
  </channel>
</rss>

