PLEASE HELP ME - Mailing list pgsql-general

From amit kumar awasthi
Subject PLEASE HELP ME
Date
Msg-id 20050421052228.17320.qmail@webmail17.rediffmail.com
Whole thread Raw
Responses Re: PLEASE HELP ME  (John DeSoi <desoi@pgedit.com>)
List pgsql-general

 

Hello sir
actually i am working with Qt using postgresql i have to get connection
{(database("trainee"),user("trainee"))}
from the network (database remote accessing) so i have configured

postgresql.conf and pg_hba.conf upto some extents

the fields that i  have configured r as follows even then

while connecting by giving any address (even localhost) it flashes error

no pg_hba.conf entry for host 127.0.0.1 user"trainee" database "trainee"
SSL off
QPSQL:Unable to connect

in pg_hba.conf

# Using sockets credentials for improved security. Not available everywhere,
# but works on Linux, *BSD (and probably some others)
local  all    all            ident  sameuser
#local  all    all            127.0.0.1  sameuser
only this entry i have made

in postgresql.conf

# - Connection Settings -

tcpip_socket = true
max_connections = 100
    # note: increasing max_connections costs about 500 bytes of shared
    # memory per connection slot, in addition to costs from shared_buffers
        # and max_locks_per_transaction.
superuser_reserved_connections = 2
#port = 5432
#unix_socket_directory = '/home/trainee/trainee'
#unix_socket_group = 'trainee'


#authentication_timeout = 60    # 1-600, in seconds
#ssl =true

if i do ssl true active then even ir is not giving psql prompt


please help me i am in trouble


pgsql-general by date:

Previous
From: "Ben Trewern"
Date:
Subject: Re: Binary or compiled version?
Next
From: "Christopher J. Bottaro"
Date:
Subject: CURRENT_TIMESTAMP and actual time