Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 0500F475BA1 for ; Wed, 18 Dec 2002 13:42:31 -0500 (EST) Received: from smtp.wanadoo.es (unknown [62.37.236.138]) by postgresql.org (Postfix) with ESMTP id 2FEE0475AFA for ; Wed, 18 Dec 2002 13:42:29 -0500 (EST) Received: from there (62-36-147-154.dialup.uni2.es [62.36.147.154]) by smtp.wanadoo.es (8.12.6/8.12.6) with SMTP id gBIIc3M0030993 for ; Wed, 18 Dec 2002 19:38:04 +0100 Message-Id: <200212181838.gBIIc3M0030993@smtp.wanadoo.es> Content-Type: text/plain; charset="iso-8859-1" From: Jesus Rios To: "POSTGRESLQ-PHP" Subject: problems when i try to connect to my Databasse Date: Wed, 18 Dec 2002 19:42:52 +0100 X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/34 X-Sequence-Number: 1709 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?????????????????????? Thanks................... NUNCA MAIS!!!! , GOVERNO DIMISSOM!!!!! FORÇA GALIZA!!