470,647 Members | 1,197 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,647 developers. It's quick & easy.

connect to remote db


I want to connect to database repl_isar located in host isar from host
willy. So I wrote:

String url = "jdbc:postgresql://isar/repl_isar";
conn = DriverManager.getConnection(url,username,password) ;

But it fails by given error both in postmaster running repl_isar and local
site willy.

java.sql.SQLException: User authentication failed

If I tried local database url="repl_willy", the same username and password
work well.

I did run "createuser" script and even run SQL "create user ..".

What do I missed?


Yi Lin

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?


Nov 11 '05 #1
0 1542

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Burkhard Schultheis | last post: by
7 posts views Thread by Michi Henning | last post: by
5 posts views Thread by Mike L | last post: by
1 post views Thread by Korara | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.