From: | Sai Hertz And Control Systems <sank89(at)sancharnet(dot)in> |
---|---|
To: | Russell Shaw <rjshaw(at)iprimus(dot)com(dot)au> |
Cc: | pgsql-novice(at)postgresql(dot)org |
Subject: | Re: Connect error |
Date: | 2004-01-12 16:44:41 |
Message-ID: | 4002CEF9.4030707@sancharnet.in |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
Dear Russell Shaw ,
> <?php
> $conn=pg_connect("dbname=parts_list user=russell");
> if(!$conn)
> exit(pg_result_error($conn));
> ?>
>
> I have apache-1.3 running ok. In /etc/postgresql/pg_hba.conf, i
> have "ident sameuser". I can access the database ok from my user
Bill is correct IDENT gives me doubt also
To check further do one thing
psql -U <username> -h localhost <database>
If this fails
make sure postgres.conf has field
Check tcpip_socket is set to true
and
virtual_host is pointing to server's IP
hope this helps
Regards,
Vishal Kashyap
From | Date | Subject | |
---|---|---|---|
Next Message | Rod K | 2004-01-12 16:52:41 | Re: Connect error |
Previous Message | Bruno Wolff III | 2004-01-12 16:04:53 | Re: Connect error |