PostgreSQL with SQL Developer Release

I added my third-party JDBC drivers for PostgreSQL, a tab will appear.

However, after I filled in the username / Pwd and the hostname / port, and then select "Select Database": I get:

Failure -FATAL: database "user1" does not exist 

Does anyone else have this problem?

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

+12
postgresql oracle-sqldeveloper
Jan 17 '14 at 17:05
source share
2 answers

If you have a different username and db, SQLDeveloper 4.1 works with this desktop:

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

Do not forget that? character. Then Select Database becomes available and the connection is working.

Thanks to Piperopoulos for helping me in this post: Oracle SQL Developer and PostgreSQL

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

 select * from pg_catalog.pg_tables; 
+27
Feb 23 '15 at 10:07
source share

This is the psql -u user1 compiler on the command line to check if the user exists

0
Jan 18 '14 at 2:39
source share



All Articles