pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedProblem/Question
2+ messages / 2 participants
[nested] [flat]
* Problem/Question
@ 2002-02-20 18:06 Judy Jecelin <jjecelin@yahoo.com>
0 siblings, 1 reply; 2+ messages in thread
From: Judy Jecelin @ 2002-02-20 18:06 UTC (permalink / raw)
To: pgsql-admin
Hi,
I'm at my wits end with this one.
I'm using PostgreSQL 7.1.3 on Solaris 2.8.
I want to create two databases in the same
postmaster. I did my initdb and started
the postmaster. I set two environment
variables, one for each database's location.
Next:
initlocation -D DB1
initlocation -D DB2
createuser DB1
createuser DB2
createdb -U DB1 -D DB1
createdb -U DB2 -D DB2
The first createdb works fine, the second:
ERROR: CREATE DATABSAE: database "postgres" already
exists
createdb: database creation failed
Can you help???? Need more info???
__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Problem/Question
@ 2002-02-21 23:01 Stephan Szabo <sszabo@megazone23.bigpanda.com>
parent: Judy Jecelin <jjecelin@yahoo.com>
0 siblings, 0 replies; 2+ messages in thread
From: Stephan Szabo @ 2002-02-21 23:01 UTC (permalink / raw)
To: Judy Jecelin <jjecelin@yahoo.com>; +Cc: pgsql-admin
On Wed, 20 Feb 2002, Judy Jecelin wrote:
>
> Hi,
>
> I'm at my wits end with this one.
>
> I'm using PostgreSQL 7.1.3 on Solaris 2.8.
> I want to create two databases in the same
> postmaster. I did my initdb and started
> the postmaster. I set two environment
> variables, one for each database's location.
> Next:
>
> initlocation -D DB1
> initlocation -D DB2
>
> createuser DB1
> createuser DB2
>
> createdb -U DB1 -D DB1
> createdb -U DB2 -D DB2
>
> The first createdb works fine, the second:
> ERROR: CREATE DATABSAE: database "postgres" already
> exists
> createdb: database creation failed
You aren't making different database names with those
createdbs. I'd guess you probably wanted:
createdb -U DB1 -D DB1 DB1
createdb -U DB2 -D DB2 DB2
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2002-02-21 23:01 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-02-20 18:06 Problem/Question Judy Jecelin <jjecelin@yahoo.com>
2002-02-21 23:01 ` Stephan Szabo <sszabo@megazone23.bigpanda.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox