Received: from troie.INTRINsec.com ([194.98.42.3]) by hub.org (8.9.3/8.9.3) with ESMTP id HAA26348 for ; Fri, 15 Oct 1999 07:14:45 -0400 (EDT) (envelope-from edx@intrinsec.com) Received: from sync.intrinsec.com (sync.INTRINsec.com [194.98.42.5]) by troie.INTRINsec.com (8.9.3/8.9.3) with ESMTP id NAA26689 for ; Fri, 15 Oct 1999 13:15:37 +0100 (GMT+0100) Received: from dooz.corp.intrinsec.com (root@dooz.corp.INTRINsec.com [10.100.1.12]) by sync.intrinsec.com (8.8.8/8.8.8) with SMTP id NAA03059 for ; Fri, 15 Oct 1999 13:16:21 +0200 (CEST) From: Edouard DESSIOUX Organization: INTRINsec To: pgsql-interfaces@postgresql.org Subject: Re : Using php and postgres Date: Thu, 14 Oct 1999 13:15:46 +0200 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain MIME-Version: 1.0 Message-Id: <9910141317010J.00504@dooz.corp.intrinsec.com> Content-Transfer-Encoding: 8bit Hello, I'm using apache postgres and php, I created a database called "manip" and i want to acces this database via a web page I use the following php script to connect to the base: as specified in the php manual And i obtain :Warning: Unable to connect to PostgresSQL server: FATAL 1: Database www does not exist in pg_database in /www/dooz.corp.intrinsec.com/mail/essai.php3 on line 3 Warning: 0 is not a PostgresSQL link index in /www/dooz.corp.intrinsec.com/mail/essai.php3 on line 4 Postmaster is started, and in psql, i can read : manip=> FATAL 1: Database www does not exist in pg_database Anyone know what i done wrong ? -- Edouard DESSIOUX Proverbe chien : "Si ca se mange pas, Si ca se baise pas, Pisse dessus !!"