Not able to connect to postgresql database

Поиск
Список
Период
Сортировка
От Manohar Bhattarai
Тема Not able to connect to postgresql database
Дата
Msg-id AANLkTinBl2QsPy0vCg0gN1fzy96ttltXpK0TVGqeiRlU@mail.gmail.com
обсуждение исходный текст
Ответы Re: Not able to connect to postgresql database
Re: Not able to connect to postgresql database
Список pgsql-jdbc
Hi,

 I am a newbie for postgresql. I am trying to connect to postgresql database using jdbc. I googled about it and got the Driver string and connection string formats. I tried using some examples i got on the internet. But my program is not able to connect to postgresql and shows an exception that it cannot find driver. I am doing it in Ubuntu8.04 Linux with Postgresql 8.3 installed. I am using Eclipse galileo as IDE. I created database using commands in terminal. I have added the external jar files for postgresql jdbc connector(postgresql-8.3-603.jdbc3.jar, postgresql-8.3-603.jdbc4.jar, postgresql-8.4-701.jdbc3.jar and postgresql-8.4-701.jdbc4.jar) in my project also.

Please help me and let me know what i am doing wrong and what i am missing.
Can you please give an example code if possible?

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

Предыдущее
От: Jason Tesser
Дата:
Сообщение: Re: Found a Bug in latest Driver (I THINK) and pg 8.4
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Not able to connect to postgresql database