Re: [pgsql] connectivity problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

I suppose yopu didn't "google" for the error message...
Try to read this http://www.postgresql.org/docs/7.3/static/client-authentication.html


Luis

Ciprian Constantinescu wrote:

I have the following code

[CODE]
<?php
$dbconn3 = pg_connect("host=somehost port=5432 dbname=adatabase
user=postgres");
?>
[/CODE]

And when i run the script I get " Warning: pg_connect()
[function.pg-connect]: Unable to connect to PostgreSQL server: FATAL:
missing or erroneous pg_hba.conf file"

I have searched for pg_hba.conf, but I don't have it. Where should it be and
what should it contain?




-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux