pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ana Carolina Alonso de Armiño <aalonso@uncoma.edu.ar>
To: pgsql-php@postgresql.org
Subject: connection error
Date: Thu, 02 Oct 2003 16:45:59 -0300
Message-ID: <5.1.0.14.1.20031002163524.00a0a6b0@pop3.uncoma.edu.ar> (raw)

Hi, i had installed postgress 7.3 in a database server, and php is running 
in an apache web server.
There are 6 databases. I can access to one of then from a php pages, and 
the system work fine.
The problem is when I want to access from a php page to another database. 
The conection is failed.
I had created this database using next comand:

createdb expedientes

And from phppgadmin (2.4.2) I had add privileges to a user. And I do the 
conect from the php page with this user. The do the conection with:

pg_pconnect(" host=one_host dbname=one_dbase user=one_user password=one_pass")

Some ideas?
Thanks in advance.

Ana

view thread (6+ messages)  latest in thread

Message-ID: <5.1.0.14.1.20031002163524.00a0a6b0@pop3.uncoma.edu.ar>
Permalink:  ../5.1.0.14.1.20031002163524.00a0a6b0@pop3.uncoma.edu.ar/
Also on:    postgresql.org/message-id/5.1.0.14.1.20031002163524.00a0a6b0@pop3.uncoma.edu.ar

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: aalonso@uncoma.edu.ar
  Subject: Re: connection error
  In-Reply-To: <5.1.0.14.1.20031002163524.00a0a6b0@pop3.uncoma.edu.ar>
  References: <5.1.0.14.1.20031002163524.00a0a6b0@pop3.uncoma.edu.ar>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox