Re: jdbc connection

Поиск
Список
Период
Сортировка
От Guy Rouillier
Тема Re: jdbc connection
Дата
Msg-id 465F5C20.7020504@burntmail.com
обсуждение исходный текст
Ответ на jdbc connection  ("N. Khodabakhsh" <nadi2000@orange.nl>)
Список pgsql-jdbc
N. Khodabakhsh wrote:
> Hello,
>
> I have downloaded the postgresql 8.2 and wanted to make a connection
> with it. i get error like unknown source.
> i send u herewith the source code (see attach). can you help me to fixe it?

You're question is rather generic, and you didn't provide a useful error
message.  So helping is rather difficult.  What exact error are you
receiving?  Your code looks okay.  Since you are specifying "localhost",
is it safe to assume you are running this code on the same box running
PostgreSQL?  Have you verified using psql that you can connect to the
target database using the userid and password you have in this code?

--
Guy Rouillier

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: FYI: porting Copy API to 8.x
Следующее
От: Mamoon Rashid
Дата:
Сообщение: Re: jdbc connection