<?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: Postgress JDBC Error SQL Exception: [SQL State:] 08001 in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/postgress-jdbc-error-sql-exception-sql-state-08001/qaa-p/12549616#M4705259</link>
    <description>&lt;P&gt;Welcome and Thank you for visiting SAP Community to get answers to your questions. Please add more details to your question, e.g. you can also add a screenshot. With that, you can reach a broader range of experts to get your question answered. I also recommend to do this tutorial &lt;A href="https://developers.sap.com/tutorials/community-qa.html" target="test_blank"&gt;https://developers.sap.com/tutorials/community-qa.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The more details you provide, the more likely it is that members will be able to assist you.&lt;/P&gt;&lt;P&gt;Finally, if you're hoping to connect with readers, please consider adding a picture to your profile. Here's how you do it: &lt;A href="https://www.youtube.com/watch?v=F5JdUbyjfMA&amp;amp;list=PLpQebylHrdh5s3gwy-h6RtymfDpoz3vDS" target="test_blank"&gt;https://www.youtube.com/watch?v=F5JdUbyjfMA&amp;amp;list=PLpQebylHrdh5s3gwy-h6RtymfDpoz3vDS&lt;/A&gt;. By personalizing your profile with a photo of you, you encourage readers to respond.&lt;/P&gt;&lt;P&gt;Regards, Svea&lt;/P&gt;&lt;P&gt;SAP Community Global Moderator&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jan 2022 07:30:10 GMT</pubDate>
    <dc:creator>sveabecker</dc:creator>
    <dc:date>2022-01-19T07:30:10Z</dc:date>
    <item>
      <title>Postgress JDBC Error SQL Exception: [SQL State:] 08001</title>
      <link>https://community.sap.com/t5/technology-q-a/postgress-jdbc-error-sql-exception-sql-state-08001/qaq-p/12549615</link>
      <description>&lt;P&gt;I am using Crystal reports and trying to create a JDBC connection. I am getting the following error:&lt;/P&gt;
  &lt;P&gt;Logon failed. Details: SQL Exception: [SQL State:] 08001 [Error Message:] Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.&lt;/P&gt;
  &lt;P&gt;I was able to successfully do so with the CData driver, but I want to use an open source one. I am using the same information as I did with the CData software. I put the postgresql-42.3.1.jar in the SAP folder and updated the CRConfig.xml file with the new path and name. I also deleted the CData folder from my computer and reinstalled Crystal. &lt;/P&gt;
  &lt;P&gt;Connection URL: jdbc:postgresql:User=*****;Password=*****;Database=*****;Port=5432 (This is what I was using with the Cdata driver)&lt;/P&gt;
  &lt;P&gt;Databas Class Name: org.postgresql.Driver&lt;/P&gt;
  &lt;P&gt;Database: Same as with the Cdata driver. &lt;/P&gt;
  &lt;P&gt;UserID: ****&lt;/P&gt;
  &lt;P&gt;Password: ****&lt;/P&gt;
  &lt;P&gt;I would appreciate any help. Thank you. &lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 07:29:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/postgress-jdbc-error-sql-exception-sql-state-08001/qaq-p/12549615</guid>
      <dc:creator>former_member1143721</dc:creator>
      <dc:date>2022-01-19T07:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: Postgress JDBC Error SQL Exception: [SQL State:] 08001</title>
      <link>https://community.sap.com/t5/technology-q-a/postgress-jdbc-error-sql-exception-sql-state-08001/qaa-p/12549616#M4705259</link>
      <description>&lt;P&gt;Welcome and Thank you for visiting SAP Community to get answers to your questions. Please add more details to your question, e.g. you can also add a screenshot. With that, you can reach a broader range of experts to get your question answered. I also recommend to do this tutorial &lt;A href="https://developers.sap.com/tutorials/community-qa.html" target="test_blank"&gt;https://developers.sap.com/tutorials/community-qa.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The more details you provide, the more likely it is that members will be able to assist you.&lt;/P&gt;&lt;P&gt;Finally, if you're hoping to connect with readers, please consider adding a picture to your profile. Here's how you do it: &lt;A href="https://www.youtube.com/watch?v=F5JdUbyjfMA&amp;amp;list=PLpQebylHrdh5s3gwy-h6RtymfDpoz3vDS" target="test_blank"&gt;https://www.youtube.com/watch?v=F5JdUbyjfMA&amp;amp;list=PLpQebylHrdh5s3gwy-h6RtymfDpoz3vDS&lt;/A&gt;. By personalizing your profile with a photo of you, you encourage readers to respond.&lt;/P&gt;&lt;P&gt;Regards, Svea&lt;/P&gt;&lt;P&gt;SAP Community Global Moderator&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 07:30:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/postgress-jdbc-error-sql-exception-sql-state-08001/qaa-p/12549616#M4705259</guid>
      <dc:creator>sveabecker</dc:creator>
      <dc:date>2022-01-19T07:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Postgress JDBC Error SQL Exception: [SQL State:] 08001</title>
      <link>https://community.sap.com/t5/technology-q-a/postgress-jdbc-error-sql-exception-sql-state-08001/qaa-p/12549617#M4705260</link>
      <description>&lt;P&gt;If you look at the documentation for the PostgreSQL jdbc driver &lt;A href="https://jdbc.postgresql.org/documentation/head/connect.html"&gt;here&lt;/A&gt;, it appears that it's looking for a somewhat different format for the jdbc connection.&lt;/P&gt;&lt;P&gt;-Dell&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 14:24:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/postgress-jdbc-error-sql-exception-sql-state-08001/qaa-p/12549617#M4705260</guid>
      <dc:creator>DellSC</dc:creator>
      <dc:date>2022-01-19T14:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: Postgress JDBC Error SQL Exception: [SQL State:] 08001</title>
      <link>https://community.sap.com/t5/technology-q-a/postgress-jdbc-error-sql-exception-sql-state-08001/qaa-p/12549618#M4705261</link>
      <description>&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2009657-image.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2009658-image.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Classpath&amp;gt;C:\Program Files (x86)\SAP BusinessObjects\\SAP BusinessObjects Enterprise XI 4.0\java/lib/crlovmanifest.jar;C:\Program Files (x86)\SAP BusinessObjects\\SAP BusinessObjects Enterprise XI 4.0\java/lib/CRLOVExternal.jar;C:\Program Files (x86)\SAP BusinessObjects\\SAP BusinessObjects Enterprise XI 4.0\java/lib/CRDBJDBCServer.jar;C:\Program Files (x86)\SAP BusinessObjects\\SAP BusinessObjects Enterprise XI 4.0\java/lib/CRDBXMLServer.jar;C:\Program Files (x86)\SAP BusinessObjects\\SAP BusinessObjects Enterprise XI 4.0\java/lib/CRDBJavaBeansServer.jar;C:\Program Files (x86)\SAP BusinessObjects\\SAP BusinessObjects Enterprise XI 4.0\java/lib/external/log4j.jar;C:\Program Files (x86)\SAP BusinessObjects\\SAP BusinessObjects Enterprise XI 4.0\java/lib/CRDBWicServer.jar;C:\Program Files (x86)\SAP BusinessObjects\\SAP BusinessObjects Enterprise XI 4.0\java/lib/external/CRDBWicExternal.jar;C:\Program Files (x86)\SAP BusinessObjects\\SAP BusinessObjects Enterprise XI 4.0\java/lib/external/CRDBXMLExternal.jar;C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\java\postgresql-42.3.1.jar;${CLASSPATH}&amp;lt;/Classpath&amp;gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 16:14:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/postgress-jdbc-error-sql-exception-sql-state-08001/qaa-p/12549618#M4705261</guid>
      <dc:creator>former_member1143721</dc:creator>
      <dc:date>2022-01-19T16:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: Postgress JDBC Error SQL Exception: [SQL State:] 08001</title>
      <link>https://community.sap.com/t5/technology-q-a/postgress-jdbc-error-sql-exception-sql-state-08001/qaa-p/12549619#M4705262</link>
      <description>&lt;P&gt;Thank you. I'm sorry, I'm having trouble understanding the link. &lt;/P&gt;&lt;P&gt;I attached screenshots for you.  Everything was working with the CData driver, so I don't understand why it's not working now.  The only thing I changed was the Database ClassName. &lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2009659-image.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 16:14:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/postgress-jdbc-error-sql-exception-sql-state-08001/qaa-p/12549619#M4705262</guid>
      <dc:creator>former_member1143721</dc:creator>
      <dc:date>2022-01-19T16:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: Postgress JDBC Error SQL Exception: [SQL State:] 08001</title>
      <link>https://community.sap.com/t5/technology-q-a/postgress-jdbc-error-sql-exception-sql-state-08001/qaa-p/12549620#M4705263</link>
      <description>&lt;P&gt;It seems that the driver is looking for the URL in one of these formats:&lt;/P&gt;&lt;P&gt;//&lt;EM&gt;host:port&lt;/EM&gt;/&lt;EM&gt;database&lt;BR /&gt;&lt;/EM&gt;//&lt;I&gt;host:port&lt;/I&gt;/&lt;/P&gt;&lt;P&gt;So, you would use "host:port" format instead of "host;Port=5432"&lt;/P&gt;&lt;P&gt;-Dell&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 16:47:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/postgress-jdbc-error-sql-exception-sql-state-08001/qaa-p/12549620#M4705263</guid>
      <dc:creator>DellSC</dc:creator>
      <dc:date>2022-01-19T16:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: Postgress JDBC Error SQL Exception: [SQL State:] 08001</title>
      <link>https://community.sap.com/t5/technology-q-a/postgress-jdbc-error-sql-exception-sql-state-08001/qaa-p/12549621#M4705264</link>
      <description>&lt;P&gt;Thank you so, so much! I got it to work. &lt;/P&gt;&lt;P&gt;I used the following format based on your suggestion. &lt;/P&gt;&lt;P&gt;jdbc:postgresql://&amp;lt;server name&amp;gt;:[port number]/&amp;lt;database name&amp;gt;&lt;/P&gt;&lt;P&gt;Which for me looks like: &lt;/P&gt;&lt;P&gt;jdbc:postgresql://mylongserverurl.com:5432/accounting&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 19:27:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/postgress-jdbc-error-sql-exception-sql-state-08001/qaa-p/12549621#M4705264</guid>
      <dc:creator>former_member1143721</dc:creator>
      <dc:date>2022-01-19T19:27:26Z</dc:date>
    </item>
  </channel>
</rss>

