pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
psql: FATAL: Database "postgres" does not exist in the system catalog.
4+ messages / 3 participants
[nested] [flat]

* psql: FATAL: Database "postgres" does not exist in the system catalog.
@ 2006-08-15 21:48  John Vandervliet <john.vandervliet@sjrb.ca>
  0 siblings, 1 reply; 4+ messages in thread

From: John Vandervliet @ 2006-08-15 21:48 UTC (permalink / raw)
  To: pgsql-admin

Sorry to bother everyone with this, but I tried searching the site and the
archive to no avail. I have read the docs and can't seem to get this ironed
out. I get the error "psql: FATAL:  Database "postgres" does not exist in
the system catalog." when trying to start a psql session. This tells me that
my install in not complete. I reread the the post install instructions and
can't see anything obvious that says I missed something.
 
Any help is appreciated.
 
Thanks
 
John Vandervliet

 

Attachments:

  smime.p7s (application/x-pkcs7-signature, 4.4K) download

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

* Re: psql: FATAL:  Database "postgres" does not exist in the
@ 2006-08-15 22:53  John Vandervliet <john.vandervliet@sjrb.ca>
  0 siblings, 1 reply; 4+ messages in thread

From: John Vandervliet @ 2006-08-15 22:53 UTC (permalink / raw)
  To: John Vandervliet <john.vandervliet@sjrb.ca>; pgsql-admin

Never find I figured it out.
 

John VanderVliet...

 

 

  _____  

From: pgsql-admin-owner@postgresql.org
[mailto:pgsql-admin-owner@postgresql.org] On Behalf Of John Vandervliet
Sent: Tuesday, August 15, 2006 3:49 PM
To: pgsql-admin@postgresql.org
Subject: [ADMIN] psql: FATAL: Database "postgres" does not exist in the
system catalog.


Sorry to bother everyone with this, but I tried searching the site and the
archive to no avail. I have read the docs and can't seem to get this ironed
out. I get the error "psql: FATAL:  Database "postgres" does not exist in
the system catalog." when trying to start a psql session. This tells me that
my install in not complete. I reread the the post install instructions and
can't see anything obvious that says I missed something.
 
Any help is appreciated.
 
Thanks
 
John Vandervliet

 

Attachments:

  smime.p7s (application/x-pkcs7-signature, 4.4K) download

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

* Re: psql: FATAL:  Database "postgres" does not exist in
@ 2006-08-15 23:52  Chris Mair <chrisnospam@1006.org>
  parent: John Vandervliet <john.vandervliet@sjrb.ca>
  0 siblings, 0 replies; 4+ messages in thread

From: Chris Mair @ 2006-08-15 23:52 UTC (permalink / raw)
  To: pgsql-admin


> Sorry to bother everyone with this, but I tried searching the site and
> the archive to no avail. I have read the docs and can't seem to get
> this ironed out. I get the error "psql: FATAL:  Database "postgres"
> does not exist in the system catalog." when trying to start a psql
> session. This tells me that my install in not complete. I reread the
> the post install instructions and can't see anything obvious that says
> I missed something.

If you run psql without a database name as an option, it tries to
connect to a database with the same name as the $USER psql runs as.

So if you run it as user "postgres", and a db with that name does
not exist (yet), it will complain.

You should first create a database using "createdb somename" and then
connect with "psql somename".

Note you can get a list of available databases with psql -l.

>  
> Any help is appreciated.
>  
> Thanks
>  
> John Vandervliet


Bye,
Chris.

 
-- 

Chris Mair
http://www.1006.org





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

* Re: psql: FATAL:  Database "postgres" does not exist in the
@ 2006-08-16 05:35  Kis <kjt@takarnet.hu>
  parent: John Vandervliet <john.vandervliet@sjrb.ca>
  0 siblings, 0 replies; 4+ messages in thread

From: Kis János Tamás @ 2006-08-16 05:35 UTC (permalink / raw)
  To: pgsql-admin

2006. August 16. Wednesday 00.53 dátummal John Vandervliet ezt írta:
> Sorry to bother everyone with this, but I tried searching the site
> and the archive to no avail. I have read the docs and can't seem to
> get this ironed out. I get the error "psql: FATAL:  Database
> "postgres" does not exist in the system catalog." when trying to
> start a psql session. This tells me that my install in not
> complete. I reread the the post install instructions and can't see
> anything obvious that says I missed something.

How would you like to start the psql session?

bye,
kjt


McAfee SCM 4.1 által ellenőrizve!


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


end of thread, other threads:[~2006-08-16 05:35 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-08-15 21:48 psql: FATAL: Database "postgres" does not exist in the system catalog. John Vandervliet <john.vandervliet@sjrb.ca>
2006-08-15 23:52 ` Re: psql: FATAL:  Database "postgres" does not exist in Chris Mair <chrisnospam@1006.org>
2006-08-15 22:53 Re: psql: FATAL:  Database "postgres" does not exist in the John Vandervliet <john.vandervliet@sjrb.ca>
2006-08-16 05:35 ` Re: psql: FATAL:  Database "postgres" does not exist in the Kis <kjt@takarnet.hu>

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