Re: problems when i try to connect to my Databasse

Поиск
Список
Период
Сортировка
От scott.marlowe
Тема Re: problems when i try to connect to my Databasse
Дата
Msg-id Pine.LNX.4.33.0212181231240.3589-100000@css120.ihs.com
обсуждение исходный текст
Ответ на problems when i try to connect to my Databasse  (Jesus Rios <galiza-vermelha@wanadoo.es>)
Ответы Re: problems when i try to connect to my Databasse  (Jesus Rios <galiza-vermelha@wanadoo.es>)
Список pgsql-php
On Wed, 18 Dec 2002, Jesus Rios wrote:

>
>
>
> Hi........
>
> Firts, sorry with my English. I am from Galician Country.
>
> My problem is :
>  i have only one user( in my postgresql)  known as posgres.
> # su postgres
> #passwd *****
>
> once , i am user postgres , i write : #psql mybd  and it does not ask me for
> the BD'pasword ( postgres is like a user root)
> The problem comes when i am  running a script php , where I try to connect to
> my BD-----> $db=pg_connect("user=$user dbname=$dbname "). This refuse the
> connection because  I dont have the password.!!!!!.
>
> How can i get it??????????????????????

What do the last dozen or so lines from $PGDATA/pg_hba.conf say?

What is the tcpip_socket set to in $PGDATA/postgresql.conf?

Can you connect if you give a bogus password?


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

Предыдущее
От: Jesus Rios
Дата:
Сообщение: problems when i try to connect to my Databasse
Следующее
От: Jesus Rios
Дата:
Сообщение: Re: problems when i try to connect to my Databasse