From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | chuettl(at)ahorn-Net(dot)de |
Cc: | PostgreSQL Liste Novice <pgsql-novice(at)postgresql(dot)org>, PostgreSQL Liste General <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: FATAL 1: Database dbname=template1 does not exist in pg_database |
Date: | 2000-06-26 14:59:51 |
Message-ID: | 17186.962031591@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-novice |
Carsten Huettl <chuettl(at)ahorn-Net(dot)de> writes:
> 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?
Read it again: the error message is complaining because you tried to
access a database named "dbname=template1". Better check the syntax
on the connection subroutine you are using --- looks like a confusion
between positional parameters and keyword-style connect strings...
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Poul L. Christiansen | 2000-06-26 15:32:18 | Re: Conversion from MS Access to Postgresql |
Previous Message | hgonzal | 2000-06-26 14:30:55 | testing - please ignore |
From | Date | Subject | |
---|---|---|---|
Next Message | Ryan Ho | 2000-06-26 16:46:30 | How to install perl module without root access |
Previous Message | Kristensen Poul | 2000-06-26 13:09:47 | Installation problem(Error: unknown type oidvector) |