From: Jesus Rios <galiza-vermelha@wanadoo.es>
To: POSTGRESLQ-PHP <pgsql-php@postgresql.org>
Subject: Re: problems when i try to connect to my Databasse
Date: Wed, 18 Dec 2002 20:41:25 +0100
Message-ID: <200212181936.gBIJacM0015249@smtp.wanadoo.es> (raw)
In-Reply-To: <Pine.LNX.4.33.0212181231240.3589-100000@css120.ihs.com>
References: <Pine.LNX.4.33.0212181231240.3589-100000@css120.ihs.com>
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.!!!!!.
>
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: galiza-vermelha@wanadoo.es
Subject: Re: problems when i try to connect to my Databasse
In-Reply-To: <200212181936.gBIJacM0015249@smtp.wanadoo.es>
References: <Pine.LNX.4.33.0212181231240.3589-100000@css120.ihs.com> <200212181936.gBIJacM0015249@smtp.wanadoo.es>
* 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