pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
connection in pgadmin3 not resolving host
2+ messages / 2 participants
[nested] [flat]

* connection in pgadmin3 not resolving host
@ 2007-02-11 06:55  Glok Twen <glok_twen@yahoo.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Glok Twen @ 2007-02-11 06:55 UTC (permalink / raw)
  To: pgsql-jdbc

ok i've searched all over and i know this has been
asked before. but the solution is not working and i'm
unclear on how to debug it.

in pgadmin3 i keep getting:

Could not resolve hostname
jdbc:postgresql://127.0.0.1:5432/postgres

and yet from the command line i can log into psql. i'm
running ubuntu 6.10. i have put this jdbc driver:

postgresql-8.1-408.jdbc3.jar

into my /usr/bin directory.

and i've tried every combination of localhost,
jdbc:postgresql:postgres and tons more for the
connection string.

any ideas on what to try next, or how i can debug
this?


 
____________________________________________________________________________________
We won't tell. Get more on shows you hate to love 
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265 


 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: connection in pgadmin3 not resolving host
@ 2007-02-11 18:43  Mario Guenterberg <mg@havelsoft.com>
  parent: Glok Twen <glok_twen@yahoo.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Mario Guenterberg @ 2007-02-11 18:43 UTC (permalink / raw)
  To: pgsql-jdbc

On Sat, Feb 10, 2007 at 10:55:09PM -0800, Glok Twen wrote:
> Could not resolve hostname
> jdbc:postgresql://127.0.0.1:5432/postgres

pgadmin3 is an C++ application. JDBC support is within not
supported. Try the File->Add Server dialog for standard TCP
connections.

> 
> and yet from the command line i can log into psql. i'm
> running ubuntu 6.10. i have put this jdbc driver:
> 
> postgresql-8.1-408.jdbc3.jar
> 
> into my /usr/bin directory.

Put it in the standard java $CLASSPATH /usr/share/java.
This is not a executable jar.

> and i've tried every combination of localhost,
> jdbc:postgresql:postgres and tons more for the
> connection string.
> 

So lang
Mario

-- 
 -----------------------------------------------------
| havelsoft.com - Ihr Service Partner für Open Source |
| Tel:  033876-21 966                                 |
| Notruf: 0173-277 33 60                              |
| http://www.havelsoft.com                            |
|                                                     |
| Inhaber: Mario Günterberg                           |
| Mützlitzer Strasse 19                               |
| 14715 Märkisch Luch                                 |
 -----------------------------------------------------

Attachments:

  signature.asc (application/pgp-signature, 826B) download

^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2007-02-11 18:43 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-02-11 06:55 connection in pgadmin3 not resolving host Glok Twen <glok_twen@yahoo.com>
2007-02-11 18:43 ` Mario Guenterberg <mg@havelsoft.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox