Обсуждение: connection in pgadmin3 not resolving host
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
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 | -----------------------------------------------------