Re: conexion

From: Rodriguez Fernando <rodriguez(at)ort(dot)edu(dot)uy>
To: pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: conexion
Date: 2011-10-03 10:39:42
Message-ID: 4E8990EE.8020906@ort.edu.uy
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

El 29/09/2011 15:39, Fabio Arias escribió:
> Que error te sale, quitale el die() para que te ponga el error completo.
>
>
> Fabio Hernando Arias Vera
> Ingeniero de Sistemas
> IT Manger & Founder BrainWinner Group SAS
> follow me @fabioariasvera
> Cel. +57 320 8494130
>
>
>
> El 29 de septiembre de 2011 13:33, Gustavo Rosso <GRosso(at)sadaic(dot)org(dot)ar
> <mailto:GRosso(at)sadaic(dot)org(dot)ar>> escribió:
>
> Buenas tardes.
>
> No logro conectar php5 con postgresql.
>
> Tengo debían con php5 con postgresql 8.3.7, esta instalada la
> librería php-pgsql, reinicie apache2, pero sigo sin conectarme.
>
> El scrip phpinfo() me dice que ve a postgres.
>
> Intento la conexión con
>
> <?php
>
> $conex = pg_connect("host=192.168.1.100 dbname=banco user=postgres
> password=12345") or die (‘Fallo conexion’);
>
> El mensaje siempre es ‘fallo conexion’.
>
> Que mas debo mirar?
>
> Muchas gracias!
>
>
> ------------------------------------------------------------------------
>
> La información contenida en esta comunicación se dirige
> exclusivamente para el uso de la persona o entidad a quien va
> dirigida y otros autorizados para recibirlo. Puede contener
> información confidencial o legalmente protegida. Si usted no es el
> destinatario indicado, queda notificado de que cualquier
> revelación, copia, distribución o tomar cualquier acción basada en
> el contenido de esta información está estrictamente prohibida y
> puede ser ilegal. Si usted ha recibido esta comunicación por
> error, le rogamos nos lo notifique inmediatamente respondiendo a
> este correo y elimine de su sistema. SADAIC no es responsable de
> la transmisión correcta y completa de la información contenida en
> esta comunicación, ni por cualquier retraso en su recepción.
>
> The information contained in this communication is intended solely
> for the use of the individual or entity to whom it is addressed
> and others authorized to receive it. It may contain confidential
> or legally privileged information. If you are not the intended
> recipient you are hereby notified that any disclosure, copying,
> distribution or taking any action in reliance on the contents of
> this information is strictly prohibited and may be unlawful. If
> you have received this communication in error, please notify us
> immediately by responding to this email and then delete it from
> your system. SADAIC is neither liable for the proper and complete
> transmission of the information contained in this communication
> nor for any delay in its receipt.
>
>
Que tenes en pg_hba?
Hay firewall, que te bloquee?

saludos Fernando

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Manuel Fernando Aller 2011-10-03 10:53:21 Re: responder problema
Previous Message Alejandro Carrillo 2011-10-02 15:12:05 responder problema