Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PostgreSQL with SQL Developer Issue

Tags:

I added my Third Party JDBC drivers for PostgreSQL, the tab shows up.

However, after I fill in the Username/Pwd and Hostname/Port and then select Choose Database - I get:

Failure -FATAL: database "user1" does not exist 

Anyone else having this issue?

The JDBC driver I am using is postgresql-8.4-701.jdbc4.jar.

like image 983
JB11 Avatar asked Jan 17 '14 17:01

JB11


People also ask

Does SQL Developer work with PostgreSQL?

Oracle SQL Developer allows you to add what they call a Third Party JDBC Driver. With that you can connect and use SQL Developer against Postgres. So far, so good.

Is Oracle compatible with Postgres?

Postgres Software. EDB Postgres Advanced Server. Advanced Server is Oracle database compatible, so leaving Oracle doesn't mean starting over. It also extends PostgreSQL with security and performance capabilities for enterprises.

Is PostgreSQL outdated?

The PostgreSQL Global Development Group supports a major version for 5 years after its initial release. After its five year anniversary, a major version will have one last minor release containing any fixes and will be considered end-of-life (EOL) and no longer supported.


1 Answers

If you have a different user and db name, SQLDevelopper 4.1 works with this workarround:

username: testuser password: mypass Host: 127.0.0.1:1234/testdb? Port: 1234 

Don't forget the "?" character. Then Select Database becomes available and connection works.

Thanks to Piperopoulos who helped me in this post: Oracle SQL Developer and PostgreSQL

Note that schema and tables are not listed by SQLDevelopper. You can use this request to list them manually:

select * from pg_catalog.pg_tables; 
like image 73
Kloe2378231 Avatar answered Nov 10 '22 07:11

Kloe2378231