<?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 Connect to a remote server error in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Connect-to-a-remote-server-error/m-p/2232425#M22390</link>
    <description>&lt;P&gt;&lt;FONT size="2"&gt;Hello, 'Talended' folks!&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;I've been trying to connect to a remote server that has already been connected to my MySql Workbench through SSH. Whenever I try to set up the connection through tDBConnection component it throws an error :&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2" color="#FF0000"&gt;com.mysql.jdbc.PacketTooBigException: Packet for query is too large (4739923 &amp;gt; 1048576). You can change this value on the server by setting the max_allowed_packet' variable.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2" color="#000000"&gt;It would be great if anyone can provide guidance.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2" color="#000000"&gt;Thanks and Regards&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2" color="#000000"&gt;Sofia&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 04:45:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T04:45:04Z</dc:date>
    <item>
      <title>Connect to a remote server error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Connect-to-a-remote-server-error/m-p/2232425#M22390</link>
      <description>&lt;P&gt;&lt;FONT size="2"&gt;Hello, 'Talended' folks!&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;I've been trying to connect to a remote server that has already been connected to my MySql Workbench through SSH. Whenever I try to set up the connection through tDBConnection component it throws an error :&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2" color="#FF0000"&gt;com.mysql.jdbc.PacketTooBigException: Packet for query is too large (4739923 &amp;gt; 1048576). You can change this value on the server by setting the max_allowed_packet' variable.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2" color="#000000"&gt;It would be great if anyone can provide guidance.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2" color="#000000"&gt;Thanks and Regards&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2" color="#000000"&gt;Sofia&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:45:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Connect-to-a-remote-server-error/m-p/2232425#M22390</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T04:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: Connect to a remote server error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Connect-to-a-remote-server-error/m-p/2232426#M22391</link>
      <description>&lt;P&gt;Sofia,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could solve your problem on two ways: in Talend Studio or in MySQL.&lt;/P&gt;&lt;P&gt;I would recommend to take the second one because it is the easiest: Change a configuration in your MySQL database, since I don't know the environment you are working on, it is difficult to handle your problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There will be a configuration called&amp;nbsp; "max_allowed_packet", change the value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kr,&lt;/P&gt;&lt;P&gt;Jvl7&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 13:31:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Connect-to-a-remote-server-error/m-p/2232426#M22391</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-06T13:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: Connect to a remote server error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Connect-to-a-remote-server-error/m-p/2232427#M22392</link>
      <description>Thank you for your quick response JVL!&lt;BR /&gt;The environment we are working on is MySql 8. I am trying to increase the variable size and see how it goes.&lt;BR /&gt;Also, I am interested to know the first approach you mentioned i.e through Talend&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Sofia</description>
      <pubDate>Fri, 06 Sep 2019 14:01:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Connect-to-a-remote-server-error/m-p/2232427#M22392</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-06T14:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Connect to a remote server error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Connect-to-a-remote-server-error/m-p/2232428#M22393</link>
      <description>&lt;P&gt;Hey JVL,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;So increasing the packet size to 50MB worked for me. Along with that, I observed some parameters that were incorrect during the component configuration :&amp;nbsp;&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;Port should be set to "3306"&lt;/LI&gt; 
 &lt;LI&gt;Chose the correct DB type ( my remote server was Maria DB not MySql &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt;&amp;nbsp;&lt;/LI&gt; 
 &lt;LI&gt;Use a tSSH component for creating a tunnel&amp;nbsp;&lt;/LI&gt; 
 &lt;LI&gt;Do not remove the additional parameter "noDatetimeStringSync=true"&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;Hope it helps people who are facing the same error!&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Best Regards,&lt;/P&gt; 
&lt;P&gt;Sofia&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2019 10:03:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Connect-to-a-remote-server-error/m-p/2232428#M22393</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-09T10:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: Connect to a remote server error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Connect-to-a-remote-server-error/m-p/2232429#M22394</link>
      <description>&lt;P&gt;Sofia,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Glad your problem is resolved!&lt;/P&gt;
&lt;P&gt;If you would like to do it in Talend, I would do it as follows (did not test it):&lt;/P&gt;
&lt;P&gt;1) Create a database session;&lt;/P&gt;
&lt;P&gt;2) Execute a command to change the packet size in a tRow component;&lt;/P&gt;
&lt;P&gt;3) Do your database transaction;&lt;/P&gt;
&lt;P&gt;4) Close your database connection.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But a beter approach is to set the variable in the database, otherwise you need to use unnecessary component in Talend (over and over again)...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kr,&lt;/P&gt;
&lt;P&gt;Jvl7&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2019 12:36:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Connect-to-a-remote-server-error/m-p/2232429#M22394</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-13T12:36:45Z</dc:date>
    </item>
  </channel>
</rss>

