connection problem in postgresql - Mailing list pgsql-bugs

From Majo George Cheruvathur
Subject connection problem in postgresql
Date
Msg-id 1eccd4ac0604160654l32902593u24a853c139bc976b@mail.gmail.com
Whole thread Raw
Responses Re: connection problem in postgresql
List pgsql-bugs
Dear Sir/Madam,
I am a programmer in sharjah,uae.
Now i am working in postgresql.
I cannot able to connect to postgresql.I am pasting my code here.

 Class.forName("org.postgresql.Driver");
 Connection conn=3DDriverManager.getConnection("jdbc:postgresql://127.0.0.1=
/*
postgres*", "*postgres*", "sadeen");

here sadeen is my password.
But i don't know what to give where i underlined.
I am working as postgres#    prompt  in database.

I have created database with -- create database mydatabase;
how to use that database as use mydatabase in mysql.

Looking forward to hear from you,
Yours truly,
George

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #2395: Can't get right type oid by PQftype.
Next
From: Tom Lane
Date:
Subject: Re: connection problem in postgresql