Connection with JDBC

Поиск
Список
Период
Сортировка
От Harald Kirschner
Тема Connection with JDBC
Дата
Msg-id 000101beea76$22bffac0$ddc85fc2@freising.weihenstephan.org
обсуждение исходный текст
Список pgsql-interfaces
Folks,

I run a java 1.1.7 program trying to connect to a postgres 6.5.1 database
and use postgresql.jar (driver). I always get the exception "Connection
refused", but I can connect to the database by using 'psql database'. I run
the app on localhost. The user I am working is the same user that I use in
the java program with the getConnection statement.

Any idea why it does not work? How do I setup a new user with a password
that is allowed to connect to my database?

This java program worked with version 6.2 but after I upgraded to 6.5.1 it
does not connect anymore....

Harald



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

Предыдущее
От: Constantin Teodorescu
Дата:
Сообщение: Re: [INTERFACES] like pgaccess but not in tcl/tk?
Следующее
От: inkle c
Дата:
Сообщение: libpq++ ---- PgDatabase instance problem