Java database connectivity postgresql

Поиск
Список
Период
Сортировка
От shaveta chawla
Тема Java database connectivity postgresql
Дата
Msg-id c6fd59350706080357q8881861o993bd6eb6def7e4d@mail.gmail.com
обсуждение исходный текст
Ответы Re: Java database connectivity postgresql  (Jörg Heßdörfer <Joerg.Hessdoerfer@sea-gmbh.com>)
Список pgsql-ports
Hello Sir,

I am trying to connect postgresql to java but I am not able .
Actually problem is that i have confugured the postgresql.conf and pg_hba.conf files as per given in the documentation
I had installed postgresql 8.2 version on Fedora Core 4
in my pg_hba.conf file my settings are as follows

# "local" is for Unix domain socket connections only
local   all         all                                 trust
# IPv4 local connections:
host    all         all         127.0.0.1/32            trust
# IPv6 local connections:
host    all         all         ::1/128                 trust

and in postgesql.conf file

listen_addresses = '*'
port = 5432
max_connections = 100

then i started the server with the following command
./postmaster -D /usr/local/pgsql/data -i
 server was started but i m not able to telnet
telnet localhost 5432

in the log files this error is coming
LOG:invalid length of startup packet

Plz help me asap. as i urgently need it in my project

Regards
sss1

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

Предыдущее
От: Martin Pitt
Дата:
Сообщение: Re: installing postgresql in ubuntu edgy eft without internet access
Следующее
От: Jörg Heßdörfer
Дата:
Сообщение: Re: Java database connectivity postgresql