X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id D7A8AD1B551 for ; Thu, 2 Oct 2003 19:42:40 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 64927-04 for ; Thu, 2 Oct 2003 16:41:52 -0300 (ADT) Received: from machi.uncoma.edu.ar (machi.uncoma.edu.ar [170.210.81.67]) by svr1.postgresql.org (Postfix) with ESMTP id 5FFDDD1B4F2 for ; Thu, 2 Oct 2003 16:41:29 -0300 (ADT) Received: from ana.uncoma.edu.ar ([170.210.81.100]) by machi.uncoma.edu.ar (8.11.4/8.11.4) with ESMTP id h92JUev26206 for ; Thu, 2 Oct 2003 16:30:40 -0300 Message-Id: <5.1.0.14.1.20031002163524.00a0a6b0@pop3.uncoma.edu.ar> X-Sender: aalonso@pop3.uncoma.edu.ar X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Thu, 02 Oct 2003 16:45:59 -0300 To: pgsql-php@postgresql.org From: Ana Carolina Alonso de =?iso-8859-1?Q?Armi=F1o?= Subject: connection error Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====================_24869756==_.ALT" X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=1.2 tagged_above=0.0 required=5.0 tests=HTML_FONT_FACE_ODD, RCVD_IN_OSIRUSOFT_COM X-Spam-Level: * X-Archive-Number: 200310/5 X-Sequence-Number: 2366 --=====================_24869756==_.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed 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 --=====================_24869756==_.ALT Content-Type: text/html; charset="us-ascii" 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
--=====================_24869756==_.ALT--