<?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 How to Connect to the Relational Database in Nifi in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-Connect-to-the-Relational-Database-in-Nifi/m-p/345955#M234713</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to NiFi, I wanted to understand the how can we connect to the oracle database through NiFi?Do we need to download the driver for the same and paste it to NiFi server ? or we have to install the database on the same server and after using that driver then only we can connect to the database. Please help me.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Jun 2022 15:12:05 GMT</pubDate>
    <dc:creator>Techie123</dc:creator>
    <dc:date>2022-06-20T15:12:05Z</dc:date>
    <item>
      <title>How to Connect to the Relational Database in Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-Connect-to-the-Relational-Database-in-Nifi/m-p/345955#M234713</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to NiFi, I wanted to understand the how can we connect to the oracle database through NiFi?Do we need to download the driver for the same and paste it to NiFi server ? or we have to install the database on the same server and after using that driver then only we can connect to the database. Please help me.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2022 15:12:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-Connect-to-the-Relational-Database-in-Nifi/m-p/345955#M234713</guid>
      <dc:creator>Techie123</dc:creator>
      <dc:date>2022-06-20T15:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to Connect to the Relational Database in Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-Connect-to-the-Relational-Database-in-Nifi/m-p/345956#M234714</link>
      <description>&lt;P&gt;Please check this old post on how to connect to mysql I assume its similar to oracle:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/t5/Support-Questions/how-to-configure-and-connect-mysql-with-nifi-and-perform/td-p/109478" target="_blank"&gt;https://community.cloudera.com/t5/Support-Questions/how-to-configure-and-connect-mysql-with-nifi-and-perform/td-p/109478&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2022 15:23:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-Connect-to-the-Relational-Database-in-Nifi/m-p/345956#M234714</guid>
      <dc:creator>SAMSAL</dc:creator>
      <dc:date>2022-06-20T15:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to Connect to the Relational Database in Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-Connect-to-the-Relational-Database-in-Nifi/m-p/345970#M234716</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;&amp;nbsp;, i did same configuration but my processor is stuck. am I doing something wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Techie123_0-1655743067311.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/34638i0E56F01842E92892/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Techie123_0-1655743067311.png" alt="Techie123_0-1655743067311.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;the error I am getting is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Cannot create PoolableConnectionFactory (IO Error: The Network Adapter could not establish the connection)
- Caused by: java.sql.SQLException: Cannot create PoolableConnectionFactory (IO Error: The Network Adapter could not establish the connection)
- Caused by: java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection
- Caused by: oracle.net.ns.NetException: The Network Adapter could not establish the connection&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2022 16:39:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-Connect-to-the-Relational-Database-in-Nifi/m-p/345970#M234716</guid>
      <dc:creator>Techie123</dc:creator>
      <dc:date>2022-06-20T16:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to Connect to the Relational Database in Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-Connect-to-the-Relational-Database-in-Nifi/m-p/346085#M234746</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/98568"&gt;@Techie123&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hopefully after reading the link that&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt; shared earlier, you've reached the understanding that no, you don't have to install the database on the same server as the server that NiFi is installed on, but of course the server hosting the database must be accessible to the NiFi server via the JDBC protocol, regardless of where it is located. There are any number of things that could be causing the error message that you are getting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Given what you have shared in this thread, I would recommend that you begin by talking to your DBA or perhaps the person that installed the database on the server. The string that you have entered on the properties tab, as shown in your page shot:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE&gt;
jdbc:oracle:thin@hostname:portnumber:sname
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;…needs to be replaced with the values appropriate for the server where your actual database is installed. To be a bit more specific, you have to get the actual literal values for &lt;FONT face="terminal,monaco,monospace"&gt;hostname&lt;/FONT&gt;, &lt;FONT face="terminal,monaco,monospace"&gt;portnumber&lt;/FONT&gt; and &lt;FONT face="terminal,monaco,monospace"&gt;sname&lt;/FONT&gt; necessary to access your database and enter all of them correctly. In my personal experience, you'd also be much better off if you can verify that the database server is accessible via JDBC using some other tool so you have a way to validate the connection string before you get involved with NiFi-specific details.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 17:55:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-Connect-to-the-Relational-Database-in-Nifi/m-p/346085#M234746</guid>
      <dc:creator>ask_bill_brooks</dc:creator>
      <dc:date>2022-06-21T17:55:42Z</dc:date>
    </item>
  </channel>
</rss>

