Received: from host1.sakon.com.sg ([203.116.235.67]) by hub.org (8.9.3/8.9.3) with ESMTP id WAA33837 for ; Wed, 23 Feb 2000 22:22:52 -0500 (EST) (envelope-from sysadmin@sakon.com.sg) Received: from AMAR ([10.0.0.17]) by host1.sakon.com.sg (8.9.3/8.9.3) with SMTP id LAA28689 for ; Thu, 24 Feb 2000 11:22:48 +0800 From: "Benjamin Tehan" To: "postgreSQL" Subject: passwords ? Date: Thu, 24 Feb 2000 11:22:35 +0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 In-Reply-To: <20000223210130.28055.qmail@web206.mail.yahoo.com> Ok, I have a small query. When I goto create a database I cannot create one I've already created the a new postgres database via initdb and i have run postmaster I never set a password to postgres, and I've tried using the admin/root password and yet that doesnt work either. Any one got any ideas ? I'm using Linux [admin@host3 admin]$ su Password: [root@host3 admin]# su - postgres [postgres@host3 pgsql]$ createdb cfsnippets Connection to database 'template1' failed. fe_sendauth: no password supplied createdb: database creation failed on cfsnippets. [postgres@host3 pgsql]$ createdb -u cfsnippets Username: postgres Password: Connection to database 'template1' failed. Password authentication failed for user 'postgres' createdb: database creation failed on cfsnippets. [postgres@host3 pgsql]$