connection error

Поиск
Список
Период
Сортировка
От Ana Carolina Alonso de Armiño
Тема connection error
Дата
Msg-id 5.1.0.14.1.20031002163524.00a0a6b0@pop3.uncoma.edu.ar
обсуждение исходный текст
Ответы Re: connection error  ("scott.marlowe" <scott.marlowe@ihs.com>)
Re: connection error  (Martin Marques <martin@bugs.unl.edu.ar>)
Список pgsql-php
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

В списке pgsql-php по дате отправления:

Предыдущее
От: "Sebastien Baudry"
Дата:
Сообщение: Re: How to call a PL/pgSQL function in a PHP script
Следующее
От: "scott.marlowe"
Дата:
Сообщение: Re: connection error