Skip site navigation (1) Skip section navigation (2)

connection problem in postgresql

From: "Majo George Cheruvathur" <majogeorges(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: connection problem in postgresql
Date: 2006-04-16 13:54:06
Message-ID: (view raw or whole thread)
Lists: 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.

 Connection conn=DriverManager.getConnection("jdbc:postgresql://*
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,


pgsql-bugs by date

Next:From: Tom LaneDate: 2006-04-16 20:28:29
Subject: Re: connection problem in postgresql
Previous:From: 姜维Date: 2006-04-16 00:52:53
Subject: Re: BUG #2395: Can't get right type oid by PQftype.

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group