minha chamada para a conexão esta assim.....

$connstr = "host=localhost dbname=remessa user=remessa password=teste
port=5432";
$dbh = pg_connect($connstr);

Em 3 de maio de 2010 14:41, Anderson <[email protected]> escreveu:

> gustavo fiz a alteração e nada.....
>
> Em 3 de maio de 2010 14:32, Gustavo Garay <[email protected]> escreveu:
>
>>  El 03/05/2010 12:55 p.m., Anderson escribió:
>>
>> segue o pg_hba.conf
>>
>>
>>
>>
>> # DO NOT DISABLE!
>> # If you change this first entry you will need to make sure that the
>> # database
>> # super user can access the database using some other method.
>> # Noninteractive
>> # access to all databases is required during automatic maintenance
>> # (custom daily cronjobs, replication, and similar tasks).
>> #
>>
>> # TYPE  DATABASE    USER        IP-ADDRESS     IP-MASK     METHOD
>> local   all     all                                             md5
>> host     all     all     127.0.0.1      255.255.255.255     md5
>> host    remessa remessa 10.14.219.158    255.255.255.255        md5
>>
>>  esta linea no tiene que ser asi :
>>
>> host    remessa remessa 10.14.219.158    255.255.255.254      md5
>>
>> a mascara 255.255.255.255 creo que esta cerrando todo
>>
>>
>>
>>
>> # IPv4-style local connections:
>> host    all     all     127.0.0.1      255.255.255.255         md5
>> host    remessa remessa 10.14.219.158    255.255.255.255        md5
>>
>>
>>
>> _______________________________________________
>> pgbr-geral mailing list
>> [email protected]
>> https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral
>>
>>
>
_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral

Responder a