<?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: Connecting  NiFi with Sybase database erroring in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Connecting-NiFi-with-Sybase-database-erroring/m-p/350770#M236073</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95503"&gt;@steven-matison&lt;/a&gt;&amp;nbsp;- the driver that we're using is&amp;nbsp;&lt;SPAN&gt;com.sybase.jdbc4.jdbc.SybDriver&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm using the user option. We use kerberos so no password. I've been able to configure DBCP for Postgres and MongoDB but&amp;nbsp;I'm unable to do the same for sybase.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I'm unable to post a screenshot bcz it's on my company portal.&lt;/P&gt;</description>
    <pubDate>Thu, 25 Aug 2022 06:11:36 GMT</pubDate>
    <dc:creator>Olivia_4692</dc:creator>
    <dc:date>2022-08-25T06:11:36Z</dc:date>
    <item>
      <title>Connecting  NiFi with Sybase database erroring</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Connecting-NiFi-with-Sybase-database-erroring/m-p/350594#M236031</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please help me with the correct URL format to connect to Sybase using the DBCP connection pool of NiFi?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The URL format that I have tried is - jdbc:sybase:Tds://host:port&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I keep getting this error - failed to create Poolable Connection Factory. Incorrect URL format.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 07:21:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Connecting-NiFi-with-Sybase-database-erroring/m-p/350594#M236031</guid>
      <dc:creator>Olivia_4692</dc:creator>
      <dc:date>2022-08-23T07:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting  NiFi with Sybase database erroring</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Connecting-NiFi-with-Sybase-database-erroring/m-p/350631#M236036</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95851"&gt;@Olivia_4692&lt;/a&gt;&amp;nbsp; Have you tried something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;jdbc:sybase:User=myuser;Password=mypassword;Server=localhost;Database=mydatabase;Charset=iso_1;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;reference:&amp;nbsp;&amp;nbsp;&lt;A href="https://www.cdata.com/kb/tech/sybase-jdbc-apache-nifi.rst" target="_blank" rel="noopener"&gt;https://www.cdata.com/kb/tech/sybase-jdbc-apache-nifi.rst&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also found this page:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.oracle.com/cd/E13222_01/wls/docs103/jdbc_drivers/sybase.html#wp1068332" target="_blank"&gt;https://docs.oracle.com/cd/E13222_01/wls/docs103/jdbc_drivers/sybase.html#wp1068332&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;jdbc:bea:sybase://server2:5000;User=test;Password=secre&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 12:38:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Connecting-NiFi-with-Sybase-database-erroring/m-p/350631#M236036</guid>
      <dc:creator>steven-matison</dc:creator>
      <dc:date>2022-08-23T12:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting  NiFi with Sybase database erroring</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Connecting-NiFi-with-Sybase-database-erroring/m-p/350675#M236048</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95503"&gt;@steven-matison&lt;/a&gt;&amp;nbsp; - thank you for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried the first link and it doesn't seem to work. we don't use the cdata jdbc driver. We use jdbc:sybase:Tds://host:port&lt;BR /&gt;&lt;BR /&gt;Not sure why it still says URL incorrect. If I just give the URL without the slashes it says login failed. something like - jdbc:sybase:Tds:host:port&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2022 05:01:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Connecting-NiFi-with-Sybase-database-erroring/m-p/350675#M236048</guid>
      <dc:creator>Olivia_4692</dc:creator>
      <dc:date>2022-08-24T05:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting  NiFi with Sybase database erroring</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Connecting-NiFi-with-Sybase-database-erroring/m-p/350708#M236061</link>
      <description>&lt;P&gt;I suggest them to show some examples of documented urls.&amp;nbsp; You may want to tweak your string to include user and pass,etc ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What driver are you using?&amp;nbsp; &amp;nbsp;It may help to show screen shot of entire DBCP Connection Pool configuration.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2022 12:37:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Connecting-NiFi-with-Sybase-database-erroring/m-p/350708#M236061</guid>
      <dc:creator>steven-matison</dc:creator>
      <dc:date>2022-08-24T12:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting  NiFi with Sybase database erroring</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Connecting-NiFi-with-Sybase-database-erroring/m-p/350770#M236073</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95503"&gt;@steven-matison&lt;/a&gt;&amp;nbsp;- the driver that we're using is&amp;nbsp;&lt;SPAN&gt;com.sybase.jdbc4.jdbc.SybDriver&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm using the user option. We use kerberos so no password. I've been able to configure DBCP for Postgres and MongoDB but&amp;nbsp;I'm unable to do the same for sybase.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I'm unable to post a screenshot bcz it's on my company portal.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 06:11:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Connecting-NiFi-with-Sybase-database-erroring/m-p/350770#M236073</guid>
      <dc:creator>Olivia_4692</dc:creator>
      <dc:date>2022-08-25T06:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting  NiFi with Sybase database erroring</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Connecting-NiFi-with-Sybase-database-erroring/m-p/350886#M236102</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95851"&gt;@Olivia_4692&lt;/a&gt;&amp;nbsp;users usually screen shot, then blur anything you need to hide.&amp;nbsp; &amp;nbsp;Just capture the property/value settings modal, not entire screen of your computer.&amp;nbsp; &amp;nbsp; Not being able to see what you see, i will continue to make some suggestions.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Since you are using Kerberos, the doc page i referenced has this property:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Property DescriptionAuthenticationMethod&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;{kerberos or userIdPassword}. Determines which authentication method the driver uses when establishing a connection.&lt;/P&gt;&lt;P&gt;If set to kerberos, the driver uses Kerberos authentication. The driver ignores any user ID or password specified. If you set this value, you also must set the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;ServicePrincipalName&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;property.&lt;/P&gt;&lt;P&gt;If set to userIdPassword (the default), the driver uses user ID/password authentication. If a user ID and password is not specified, the driver throws an exception.&lt;/P&gt;&lt;P&gt;The&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;User&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;property provides the user ID. The&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Password&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;property provides the password.&lt;/P&gt;&lt;P&gt;See&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.oracle.com/cd/E12839_01/web.1111/e13753/sybase.htm#i1085357" target="_blank" rel="noopener"&gt;Authentication&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;for more information about using authentication with the Sybase driver.&lt;/P&gt;&lt;P&gt;The default is userIdPassword.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;based on this i believe you should have AuthenticationMethod=kerberos in your jdbc url.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are further details for How to Configure Kerberos, please be sure to follow them all:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.oracle.com/cd/E12839_01/web.1111/e13753/sybase.htm#JDBCD390" target="_blank" rel="noopener"&gt;https://docs.oracle.com/cd/E12839_01/web.1111/e13753/sybase.htm#JDBCD390&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2022 12:32:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Connecting-NiFi-with-Sybase-database-erroring/m-p/350886#M236102</guid>
      <dc:creator>steven-matison</dc:creator>
      <dc:date>2022-08-26T12:32:25Z</dc:date>
    </item>
  </channel>
</rss>

