<?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: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure with mysql in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/com-mysql-jdbc-exceptions-jdbc4-CommunicationsException/m-p/2217499#M13073</link>
    <description>&lt;P&gt;Think you&amp;nbsp;vapukov for your response .&lt;/P&gt;
&lt;P&gt;Finally I was able to fix the problem by enabling stream in advanced parameter in the&amp;nbsp;&lt;SPAN&gt;tMySQLInput.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 01 Apr 2019 01:02:56 GMT</pubDate>
    <dc:creator>salmen_ft</dc:creator>
    <dc:date>2019-04-01T01:02:56Z</dc:date>
    <item>
      <title>com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure with mysql</title>
      <link>https://community.qlik.com/t5/Talend-Studio/com-mysql-jdbc-exceptions-jdbc4-CommunicationsException/m-p/2217494#M13068</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I am working on a study project and I have been stuck for 2 days in this error. &lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;[statistics] connecting to socket on port 3608&lt;BR /&gt;[statistics] connected&lt;BR /&gt;Exception in component tDBInput_1 (Dim_Segment)&lt;BR /&gt;com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure&lt;/P&gt; 
&lt;P&gt;The last packet successfully received from the server was 233&amp;nbsp;317 milliseconds ago. The last packet sent successfully to the server was 233&amp;nbsp;317 milliseconds 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:409)&lt;BR /&gt;at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1127)&lt;BR /&gt;at com.mysql.jdbc.MysqlIO.nextRowFast(MysqlIO.java:2288)&lt;BR /&gt;at com.mysql.jdbc.MysqlIO.nextRow(MysqlIO.java:2044)&lt;BR /&gt;at com.mysql.jdbc.MysqlIO.readSingleRowSet(MysqlIO.java:3549)&lt;BR /&gt;at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:489)&lt;BR /&gt;at com.mysql.jdbc.MysqlIO.readResultsForQueryOrUpdate(MysqlIO.java:3240)&lt;BR /&gt;at com.mysql.jdbc.MysqlIO.readAllResults(MysqlIO.java:2411)&lt;BR /&gt;at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2834)&lt;BR /&gt;at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2832)&lt;BR /&gt;at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2781)&lt;BR /&gt;at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1569)&lt;BR /&gt;at alidade_dw.dim_segment_0_1.Dim_Segment.tDBInput_1Process(Dim_Segment.java:3064)&lt;BR /&gt;at alidade_dw.dim_segment_0_1.Dim_Segment.runJobInTOS(Dim_Segment.java:4332)&lt;BR /&gt;at alidade_dw.dim_segment_0_1.Dim_Segment.main(Dim_Segment.java:4181)&lt;BR /&gt;Caused by: java.io.EOFException: Can not read response from server. Expected to read 12 bytes, read 0 bytes before connection was unexpectedly lost.&lt;BR /&gt;at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:3161)&lt;BR /&gt;at com.mysql.jdbc.MysqlIO.nextRowFast(MysqlIO.java:2269)&lt;BR /&gt;... 12 more&lt;BR /&gt;[statistics] disconnected&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Mar 2019 23:23:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/com-mysql-jdbc-exceptions-jdbc4-CommunicationsException/m-p/2217494#M13068</guid>
      <dc:creator>salmen_ft</dc:creator>
      <dc:date>2019-03-30T23:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure with mysql</title>
      <link>https://community.qlik.com/t5/Talend-Studio/com-mysql-jdbc-exceptions-jdbc4-CommunicationsException/m-p/2217495#M13069</link>
      <description>&lt;P&gt;I think that this member had the same issues, but I did not understand how he fix it.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://talendforge.org/forum/viewtopic.php?pid=124656" target="_blank" rel="nofollow noopener noreferrer"&gt;https://talendforge.org/forum/viewtopic.php?pid=124656&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 31 Mar 2019 00:50:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/com-mysql-jdbc-exceptions-jdbc4-CommunicationsException/m-p/2217495#M13069</guid>
      <dc:creator>salmen_ft</dc:creator>
      <dc:date>2019-03-31T00:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure with mysql</title>
      <link>https://community.qlik.com/t5/Talend-Studio/com-mysql-jdbc-exceptions-jdbc4-CommunicationsException/m-p/2217496#M13070</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;is it remote mysql server or local?&lt;/P&gt; 
&lt;P&gt;if remote is it on linux or on windows server?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;in any case - first what you need to do with any connection error, it is trying to connect to the same resource (server) with the standard client from the Talend machine&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;for MySQL it could be MySQL Workbench.&lt;/P&gt; 
&lt;P&gt;can you connect to same server, with same settings from your Talend machine with MySQL command line client or MySQL Workbench?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;there are 2 main possible reasons for error:&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;firewall rules&lt;/LI&gt; 
 &lt;LI&gt;MySQL server settings - many of them do not listen to connections from network&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;If the reason is firewall rules - you will need enable MySQL connections from you Talend machine ip address&lt;/P&gt; 
&lt;P&gt;If it server settings, you need or change them or create ssh tunnel before tMySQLInput&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 31 Mar 2019 04:00:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/com-mysql-jdbc-exceptions-jdbc4-CommunicationsException/m-p/2217496#M13070</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2019-03-31T04:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure with mysql</title>
      <link>https://community.qlik.com/t5/Talend-Studio/com-mysql-jdbc-exceptions-jdbc4-CommunicationsException/m-p/2217497#M13071</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;Thank you for the quick response.&lt;/P&gt; 
&lt;P&gt;It is a local server.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;when i tryed to&amp;nbsp;check the connection in&amp;nbsp; Metadata repository it tell me that the&amp;nbsp;connection is established&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;do I have to remove Mysql and reinstall it in my machine ?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;how can i&amp;nbsp;&lt;SPAN&gt;connect to same server, with same settings from my Talend machine with MySQL command line client or MySQL Workbench?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;how can i&amp;nbsp;&lt;SPAN&gt;enable MySQL connections from you Talend machine ip address ?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;and what is&amp;nbsp;the role of&amp;nbsp;&lt;SPAN&gt;ssh tunnel before tMySQLInput ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 31 Mar 2019 10:45:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/com-mysql-jdbc-exceptions-jdbc4-CommunicationsException/m-p/2217497#M13071</guid>
      <dc:creator>salmen_ft</dc:creator>
      <dc:date>2019-03-31T10:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure with mysql</title>
      <link>https://community.qlik.com/t5/Talend-Studio/com-mysql-jdbc-exceptions-jdbc4-CommunicationsException/m-p/2217498#M13072</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if mysql&amp;nbsp;is local (means on the same machine with Talend) - need more information&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;what mysql? what settings you use in repository (where you successfully connect) and what in tMySQLInput, and etc&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;regards&lt;/P&gt;</description>
      <pubDate>Sun, 31 Mar 2019 22:29:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/com-mysql-jdbc-exceptions-jdbc4-CommunicationsException/m-p/2217498#M13072</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2019-03-31T22:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure with mysql</title>
      <link>https://community.qlik.com/t5/Talend-Studio/com-mysql-jdbc-exceptions-jdbc4-CommunicationsException/m-p/2217499#M13073</link>
      <description>&lt;P&gt;Think you&amp;nbsp;vapukov for your response .&lt;/P&gt;
&lt;P&gt;Finally I was able to fix the problem by enabling stream in advanced parameter in the&amp;nbsp;&lt;SPAN&gt;tMySQLInput.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2019 01:02:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/com-mysql-jdbc-exceptions-jdbc4-CommunicationsException/m-p/2217499#M13073</guid>
      <dc:creator>salmen_ft</dc:creator>
      <dc:date>2019-04-01T01:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure with mysql</title>
      <link>https://community.qlik.com/t5/Talend-Studio/com-mysql-jdbc-exceptions-jdbc4-CommunicationsException/m-p/2217500#M13074</link>
      <description>&lt;P&gt;I have had this error for two days:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;Exception in component tMysqlConnection_3 (Main)&lt;/P&gt;
&lt;P class="p1"&gt;com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure&lt;/P&gt;
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.&lt;/P&gt;
&lt;P class="p1"&gt;at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)&lt;/P&gt;
&lt;P class="p1"&gt;at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)&lt;/P&gt;
&lt;P class="p1"&gt;at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)&lt;/P&gt;
&lt;P class="p1"&gt;at java.lang.reflect.Constructor.newInstance(Constructor.java:423)&lt;/P&gt;
&lt;P class="p1"&gt;at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)&lt;/P&gt;
&lt;P class="p1"&gt;at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1127)&lt;/P&gt;
&lt;P class="p1"&gt;at com.mysql.jdbc.MysqlIO.readPacket(MysqlIO.java:674)&lt;/P&gt;
&lt;P class="p1"&gt;at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1086)&lt;/P&gt;
&lt;P class="p1"&gt;at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2506)&lt;/P&gt;
&lt;P class="p1"&gt;at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2539)&lt;/P&gt;
&lt;P class="p1"&gt;at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2321)&lt;/P&gt;
&lt;P class="p1"&gt;at com.mysql.jdbc.ConnectionImpl.&amp;lt;init&amp;gt;(ConnectionImpl.java:832)&lt;/P&gt;
&lt;P class="p1"&gt;at com.mysql.jdbc.JDBC4Connection.&amp;lt;init&amp;gt;(JDBC4Connection.java:46)&lt;/P&gt;
&lt;P class="p1"&gt;at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)&lt;/P&gt;
&lt;P class="p1"&gt;at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)&lt;/P&gt;
&lt;P class="p1"&gt;at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)&lt;/P&gt;
&lt;P class="p1"&gt;at java.lang.reflect.Constructor.newInstance(Constructor.java:423)&lt;/P&gt;
&lt;P class="p1"&gt;at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)&lt;/P&gt;
&lt;P class="p1"&gt;at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:417)&lt;/P&gt;
&lt;P class="p1"&gt;at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:344)&lt;/P&gt;
&lt;P class="p1"&gt;at java.sql.DriverManager.getConnection(DriverManager.java:664)&lt;/P&gt;
&lt;P class="p1"&gt;at java.sql.DriverManager.getConnection(DriverManager.java:247)&lt;/P&gt;
&lt;P class="p1"&gt;at core_etl.main_0_7.Main.tMysqlConnection_3Process(Main.java:3022)&lt;/P&gt;
&lt;P class="p1"&gt;at core_etl.main_0_7.Main.tFileList_1Process(Main.java:2829)&lt;/P&gt;
&lt;P class="p1"&gt;at core_etl.main_0_7.Main.tJava_7Process(Main.java:1684)&lt;/P&gt;
&lt;P class="p1"&gt;at core_etl.main_0_7.Main.runJobInTOS(Main.java:10350)&lt;/P&gt;
&lt;P class="p1"&gt;at core_etl.main_0_7.Main.main(Main.java:9596)&lt;/P&gt;
&lt;P class="p1"&gt;Caused by: java.io.EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.&lt;/P&gt;
&lt;P class="p1"&gt;at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:3161)&lt;/P&gt;
&lt;P class="p1"&gt;at com.mysql.jdbc.MysqlIO.readPacket(MysqlIO.java:598)&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;I am able to connect to my database through SequelPro.&amp;nbsp; This error has been a new one, only in the last two days.&amp;nbsp; Before, the job ran through successfully.&amp;nbsp; Any ideas?&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2019 06:10:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/com-mysql-jdbc-exceptions-jdbc4-CommunicationsException/m-p/2217500#M13074</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-02T06:10:32Z</dc:date>
    </item>
  </channel>
</rss>

