<?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: tMySQLRow fails creating tables in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tMySQLRow-fails-creating-tables/m-p/2286600#M60222</link>
    <description>Hey,&amp;nbsp;
&lt;BR /&gt;thanks for the reply. I haven't had time to look it up in the last days.
&lt;BR /&gt;However I did today. The mysql Row has none such Parameter under Advanced.
&lt;BR /&gt;But now that I know I just used two rows which shouldn't be a problem.
&lt;BR /&gt;So thank you very much.&amp;nbsp;</description>
    <pubDate>Thu, 05 Jan 2017 15:28:11 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2017-01-05T15:28:11Z</dc:date>
    <item>
      <title>tMySQLRow fails creating tables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMySQLRow-fails-creating-tables/m-p/2286598#M60220</link>
      <description>Hey,&amp;nbsp; 
&lt;BR /&gt;I'm getting frustrated over a problem which I really underestimated.&amp;nbsp; 
&lt;BR /&gt;Hopefully I was just stupid an someone can help... &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt; 
&lt;BR /&gt;Right now I am reading a lot of files an really don't want to generate all tables on my own. So in the beginnig I tried the built-in feature of the MySQLOut "create table if not exists". It somhow failed after a certain ammount of tables. I have no idea why. The exception said simply "table xyz does not exist" which is correct. But it wasn't created.&amp;nbsp; 
&lt;BR /&gt;Any way then I tried to create them before the actual data load. 
&lt;BR /&gt;I wrote the Query and checked it through the MySQL Console where it works perfektly.&amp;nbsp; 
&lt;BR /&gt;BUT the tMySQL is somehow stubburn and won't create the table. 
&lt;BR /&gt;Here's my query: 
&lt;BR /&gt; 
&lt;PRE&gt;DROP TABLE IF EXISTS br189071noid; &amp;nbsp;&lt;BR /&gt;CREATE TABLE br189071noid (&lt;BR /&gt; ID int(9) NOT NULL AUTO_INCREMENT,&lt;BR /&gt; My_time DATETIME DEFAULT NULL,&lt;BR /&gt; Magnetventil_SA1_anst_ int(1) default NULL,&lt;BR /&gt; Magnetventil_SA2_anst_ int(1) default NULL,&lt;BR /&gt; Magnetventil_SA3_anst_ int(1) default NULL,&lt;BR /&gt; Magnetventil_SA4_anst_ int(1) default NULL,&lt;BR /&gt; Hauptschalter_DC_ist_EIN int(1) default NULL,&lt;BR /&gt; Systemtre__in_AC_Stellung int(1) default NULL,&lt;BR /&gt; AC_Netzspannung__eig_ZSG_ int(2) default NULL,&lt;BR /&gt; DC_Netzspannung__direkt_ int(4) default NULL,&lt;BR /&gt; HBU1__Eingangsspannung int(4) default NULL, &lt;BR /&gt; HBU1__ZK_Spannung int(5) default NULL,&lt;BR /&gt; HBU2__Eingangsspannung int(4) default NULL,&lt;BR /&gt; HBU2__ZK_Spannung int(5) default NULL,&lt;BR /&gt; n_Ist_Achse_1__K_Micro_ int(5) default NULL,&lt;BR /&gt; PRIMARY KEY (ID) &amp;nbsp;);&lt;/PRE&gt; 
&lt;BR /&gt;And here is what Talend comes up with.... 
&lt;BR /&gt; 
&lt;PRE&gt;Starte Job test1 am 16:33 30/12/2016.&lt;BR /&gt; connecting to socket on port 3804&lt;BR /&gt; connected&lt;BR /&gt;You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CREATE TABLE br189071noid (&lt;BR /&gt; ID int(9) NOT NULL AUTO_INCREMENT,&lt;BR /&gt; My_time DATETIM' at line 2&lt;BR /&gt; disconnected&lt;BR /&gt;Job test1 endet am 16:33 30/12/2016. &lt;/PRE&gt; 
&lt;BR /&gt;I really don't get it and I've been trying for at least 2 hours now 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;. 
&lt;BR /&gt;I tried several combinations of creating a table but non worked for me.</description>
      <pubDate>Fri, 30 Dec 2016 15:43:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMySQLRow-fails-creating-tables/m-p/2286598#M60220</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2016-12-30T15:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: tMySQLRow fails creating tables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMySQLRow-fails-creating-tables/m-p/2286599#M60221</link>
      <description>Hi&amp;nbsp;
&lt;BR /&gt;Take a look at this KB 
&lt;A href="https://help.talend.com/pages/viewpage.action?pageId=190513236" target="_blank" rel="nofollow noopener noreferrer"&gt;article &lt;/A&gt;about how to execute multiple SQ statements with one tMysqlRow.
&lt;BR /&gt;Regards
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 30 Dec 2016 17:07:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMySQLRow-fails-creating-tables/m-p/2286599#M60221</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-30T17:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: tMySQLRow fails creating tables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMySQLRow-fails-creating-tables/m-p/2286600#M60222</link>
      <description>Hey,&amp;nbsp;
&lt;BR /&gt;thanks for the reply. I haven't had time to look it up in the last days.
&lt;BR /&gt;However I did today. The mysql Row has none such Parameter under Advanced.
&lt;BR /&gt;But now that I know I just used two rows which shouldn't be a problem.
&lt;BR /&gt;So thank you very much.&amp;nbsp;</description>
      <pubDate>Thu, 05 Jan 2017 15:28:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMySQLRow-fails-creating-tables/m-p/2286600#M60222</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2017-01-05T15:28:11Z</dc:date>
    </item>
  </channel>
</rss>

