FATAL 1: Database dbname=template1 does not exist in pg_database

From: Carsten Huettl <chuettl(at)ahorn-Net(dot)de>
To: PostgreSQL Liste Novice <pgsql-novice(at)postgresql(dot)org>, PostgreSQL Liste General <pgsql-general(at)postgresql(dot)org>
Subject: FATAL 1: Database dbname=template1 does not exist in pg_database
Date: 2000-06-23 09:53:09
Message-ID: 39533385.B8A72081@ahorn-Net.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-novice

Hello again,

When I ty to access my pgsql with apache and php3 I got the following
error:

FATAL 1: Database dbname=template1 does not exist in pg_database
When I connect with psql I can see template1.

How do I insert template1 into pg_database?

TIA
C.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joseph 2000-06-23 09:56:55 RE: Postgres with php3
Previous Message Lincoln Yeoh 2000-06-23 08:20:44 Re: How to select a row and an adjacent row?

Browse pgsql-novice by date

  From Date Subject
Next Message Joseph 2000-06-23 09:56:55 RE: Postgres with php3
Previous Message Andrew McMillan 2000-06-22 02:41:10 Re: Postgres with php3