<?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>question Re: How to use putSQL in nifi in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-use-putSQL-in-nifi/m-p/326871#M229952</link>
    <description>&lt;P&gt;I think I know what is the problem. Since you are not doing any fragmentation -like in using split processor- try setting the Support Fragmented Transaction to False in the PUTSQL. Also remove the original \ failure connection from the Convert processor. you can mute those relationship in the convert setting table by checking the box.&lt;/P&gt;</description>
    <pubDate>Thu, 07 Oct 2021 16:32:01 GMT</pubDate>
    <dc:creator>SAMSAL</dc:creator>
    <dc:date>2021-10-07T16:32:01Z</dc:date>
    <item>
      <title>How to use putSQL in nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-use-putSQL-in-nifi/m-p/326723#M229919</link>
      <description>&lt;P&gt;Hi all I am absolute beginner in apache nifi as well as in DWH field, I want to create replica of my database table, using nifi. I am taking Mysql table data using QueryDatabaseTableRecord processor. Now I want this data to be inserted into another mysql database table which I have created. I was trying using the putSQL processor but that didn't worked I got no record inside of my table.&lt;/P&gt;&lt;P&gt;I tried things which I could think of myself, but that was not enough. Please help me !!!&lt;/P&gt;&lt;P&gt;Here is the screenshot of my flow,&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 679px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/32610i11471D72EADD6C41/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Oct 2021 18:12:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-use-putSQL-in-nifi/m-p/326723#M229919</guid>
      <dc:creator>Rikk</dc:creator>
      <dc:date>2021-10-06T18:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to use putSQL in nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-use-putSQL-in-nifi/m-p/326737#M229925</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You seem to be having the correct processors and sequence. Can you share screenshot with the configuration of the put SQL. Have you configured the PUTSQL with the correct DB connection? Also are you seeing data (FlowFiles) flowing into it from the above processors. It could be that you are not getting any data to begin with or your configuration in the putSQL is incorrect. By the way why are you connecting failuer,original, sql relationship from the ConvertJsonTOSQL to the PUT SQL? you will get an error this way, you need to just connect the sql releationship. Another thing , the SQL property in the PUTSQL needs to be empty so that it process the sql received from the convert processor, if you have anything in there it will not take the sql insert from the convert processor&lt;/P&gt;</description>
      <pubDate>Wed, 06 Oct 2021 20:47:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-use-putSQL-in-nifi/m-p/326737#M229925</guid>
      <dc:creator>SAMSAL</dc:creator>
      <dc:date>2021-10-06T20:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to use putSQL in nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-use-putSQL-in-nifi/m-p/326773#M229930</link>
      <description>&lt;P&gt;Hi thanks for the reply, I have set the db connection pool, and both are working I believe. I am getting the data from the source database it is available in the queue,&lt;/P&gt;&lt;P&gt;the ss of my process -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture2.JPG" style="width: 761px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/32612i0643F400AF941EDC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture2.JPG" alt="Capture2.JPG" /&gt;&lt;/span&gt;MysqlPut configuration -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture3.JPG" style="width: 768px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/32613i3BAAB3F9BAAA25CB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture3.JPG" alt="Capture3.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Where I did this wrong ?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Oct 2021 04:52:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-use-putSQL-in-nifi/m-p/326773#M229930</guid>
      <dc:creator>Rikk</dc:creator>
      <dc:date>2021-10-07T04:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to use putSQL in nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-use-putSQL-in-nifi/m-p/326871#M229952</link>
      <description>&lt;P&gt;I think I know what is the problem. Since you are not doing any fragmentation -like in using split processor- try setting the Support Fragmented Transaction to False in the PUTSQL. Also remove the original \ failure connection from the Convert processor. you can mute those relationship in the convert setting table by checking the box.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Oct 2021 16:32:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-use-putSQL-in-nifi/m-p/326871#M229952</guid>
      <dc:creator>SAMSAL</dc:creator>
      <dc:date>2021-10-07T16:32:01Z</dc:date>
    </item>
  </channel>
</rss>

