<?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: Establishing tMySQLConnection through tSSH Tunnel in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Establishing-tMySQLConnection-through-tSSH-Tunnel/m-p/2281000#M55673</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;You can create ssh tunnel from Talend with tSystem component.&lt;/P&gt; 
&lt;P&gt;Here is another way introuduced in this article about:&lt;A title="https://community.talend.com/t5/Architecture-Best-Practices-and/Learned-By-Doing-How-to-connect-a-Studio-job-to-a-MySQL-Server/ta-p/35675" href="https://community.qlik.com/s/article/ka03p0000006EmLAAU" target="_self"&gt;https://community.talend.com/t5/Architecture-Best-Practices-and/Learned-By-Doing-How-to-connect-a-Studio-job-to-a-MySQL-Server/ta-p/35675&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Hope it will help.&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Oct 2019 11:05:23 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-10-14T11:05:23Z</dc:date>
    <item>
      <title>Establishing tMySQLConnection through tSSH Tunnel</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Establishing-tMySQLConnection-through-tSSH-Tunnel/m-p/2280999#M55672</link>
      <description>&lt;P&gt;Hey everyone,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Im pretty new to Talend and I currently use it for my bachelor thesis.&lt;/P&gt; 
&lt;P&gt;I need to connect to a MySQL Database through a SSH Tunnel but it wont work for some reason.&lt;/P&gt; 
&lt;P&gt;I connected a tSSH element to a tMySQLConnection Element via a OnComponentOK check.&lt;/P&gt; 
&lt;P&gt;Even after double and tripple checking Host, Port, User, etc. it wont work.&lt;/P&gt; 
&lt;P&gt;I use "localhost" as host for the tMySQLConnection and tried "127.0.0.1" as well but no success.&lt;/P&gt; 
&lt;P&gt;The tSSH Element seems to work as it only throws the error when trying to connect to the database.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The error I get is the following:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure&lt;/P&gt; 
&lt;P&gt;The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.&lt;BR /&gt;at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)&lt;BR /&gt;at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)&lt;BR /&gt;at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)&lt;BR /&gt;at java.lang.reflect.Constructor.newInstance(Constructor.java:423)&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.&amp;lt;init&amp;gt;(MysqlIO.java:356)&lt;BR /&gt;at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2502)&lt;BR /&gt;at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2539)&lt;BR /&gt;at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2321)&lt;BR /&gt;at com.mysql.jdbc.ConnectionImpl.&amp;lt;init&amp;gt;(ConnectionImpl.java:832)&lt;BR /&gt;at com.mysql.jdbc.JDBC4Connection.&amp;lt;init&amp;gt;(JDBC4Connection.java:46)&lt;BR /&gt;at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)&lt;BR /&gt;at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)&lt;BR /&gt;at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)&lt;BR /&gt;at java.lang.reflect.Constructor.newInstance(Constructor.java:423)&lt;BR /&gt;at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)&lt;BR /&gt;at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:417)&lt;BR /&gt;at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:344)&lt;BR /&gt;at java.sql.DriverManager.getConnection(DriverManager.java:664)&lt;BR /&gt;at java.sql.DriverManager.getConnection(DriverManager.java:247)&lt;BR /&gt;at ba_flightfile.ghams2dwh_0_1.GHAMS2DWH.tMysqlConnection_1Process(GHAMS2DWH.java:1085)&lt;BR /&gt;at ba_flightfile.ghams2dwh_0_1.GHAMS2DWH.tSSH_1Process(GHAMS2DWH.java:860)&lt;BR /&gt;at ba_flightfile.ghams2dwh_0_1.GHAMS2DWH.tOracleConnection_1Process(GHAMS2DWH.java:548)&lt;BR /&gt;at ba_flightfile.ghams2dwh_0_1.GHAMS2DWH.runJobInTOS(GHAMS2DWH.java:1474)&lt;BR /&gt;at ba_flightfile.ghams2dwh_0_1.GHAMS2DWH.main(GHAMS2DWH.java:1323)&lt;BR /&gt;Caused by: java.net.ConnectException: Connection refused: connect&lt;BR /&gt;at java.net.DualStackPlainSocketImpl.connect0(Native Method)&lt;BR /&gt;at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)&lt;BR /&gt;at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)&lt;BR /&gt;at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)&lt;BR /&gt;at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)&lt;BR /&gt;at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)&lt;BR /&gt;at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)&lt;BR /&gt;at java.net.Socket.connect(Socket.java:589)&lt;BR /&gt;at java.net.Socket.connect(Socket.java:538)&lt;BR /&gt;at java.net.Socket.&amp;lt;init&amp;gt;(Socket.java:434)&lt;BR /&gt;at java.net.Socket.&amp;lt;init&amp;gt;(Socket.java:244)&lt;BR /&gt;at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:258)&lt;BR /&gt;at com.mysql.jdbc.MysqlIO.&amp;lt;init&amp;gt;(MysqlIO.java:306)&lt;BR /&gt;... 19 more&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I really hope someone can help me with that.&lt;/P&gt; 
&lt;P&gt;Thanks in advance and kind regards, Sascha.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:27:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Establishing-tMySQLConnection-through-tSSH-Tunnel/m-p/2280999#M55672</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T04:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Establishing tMySQLConnection through tSSH Tunnel</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Establishing-tMySQLConnection-through-tSSH-Tunnel/m-p/2281000#M55673</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;You can create ssh tunnel from Talend with tSystem component.&lt;/P&gt; 
&lt;P&gt;Here is another way introuduced in this article about:&lt;A title="https://community.talend.com/t5/Architecture-Best-Practices-and/Learned-By-Doing-How-to-connect-a-Studio-job-to-a-MySQL-Server/ta-p/35675" href="https://community.qlik.com/s/article/ka03p0000006EmLAAU" target="_self"&gt;https://community.talend.com/t5/Architecture-Best-Practices-and/Learned-By-Doing-How-to-connect-a-Studio-job-to-a-MySQL-Server/ta-p/35675&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Hope it will help.&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 11:05:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Establishing-tMySQLConnection-through-tSSH-Tunnel/m-p/2281000#M55673</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-14T11:05:23Z</dc:date>
    </item>
  </channel>
</rss>

