Re: problems when i try to connect to my Databasse - Mailing list pgsql-php

From Jesus Rios
Subject Re: problems when i try to connect to my Databasse
Date
Msg-id 200212181936.gBIJacM0015249@smtp.wanadoo.es
Whole thread Raw
In response to Re: problems when i try to connect to my Databasse  ("scott.marlowe" <scott.marlowe@ihs.com>)
List pgsql-php
Or  anyway........., which is the comand for set the passwd to a database
allready created.????????????????????????






On Wed 18 Dec 2002 20:32, you wrote:
> 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.!!!!!.
>

pgsql-php by date:

Previous
From: "scott.marlowe"
Date:
Subject: Re: problems when i try to connect to my Databasse
Next
From: Thorsten Haude
Date:
Subject: pg_fetch_array()