pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
createdb -D /other/path dbname does not work
2+ messages / 2 participants
[nested] [flat]

* createdb -D /other/path dbname does not work
@ 2001-05-18 13:45  Muhammed Yazici <yazici@chss.net>
  0 siblings, 1 reply; 2+ messages in thread

From: Muhammed Yazici @ 2001-05-18 13:45 UTC (permalink / raw)
  To: pgsql-admin

hi all ,

when i do

> createdb -D /other/path dbname

I got the Message:

> ERROR: The database path '/other/path' is invalid. This may be due to a
character that is not allowed or because the chosen
> path isn't permitted for databases.

when i try to create a database anywhere else than the standard location.

I tried to set the filesystem permission to 777 but it failed either ..

Am i forced to tell postgres where databases are permitted ??
and how i can do this ??

thanx a lot in forward ..

would be nice to hear soon ..






^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: createdb -D /other/path dbname does not work
@ 2001-05-18 16:07  Stefan Huber <schweinsaug@crosswinds.net>
  parent: Muhammed Yazici <yazici@chss.net>
  0 siblings, 0 replies; 2+ messages in thread

From: Stefan Huber @ 2001-05-18 16:07 UTC (permalink / raw)
  To: pgsql-admin

Hi!

At 15:45 2001-05-18 +0200, Muhammed Yazici wrote:
> > createdb -D /other/path dbname
> > ERROR: The database path '/other/path' is invalid. This may be due to a
>character that is not allowed or because the chosen
> > path isn't permitted for databases.


Have you done an
$ initlocation /other/path
first?

Stefan

-- 
"On the Internet, there is no 'they'. There's only a very,
very large 'us'." --- Douglas Adams




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2001-05-18 16:07 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-05-18 13:45 createdb -D /other/path dbname does not work Muhammed Yazici <yazici@chss.net>
2001-05-18 16:07 ` Stefan Huber <schweinsaug@crosswinds.net>

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