Re: problem logging on with new everyday user

From: Gary Chambers <gwchamb(at)gwcmail(dot)com>
To: John <mrbruno(at)yahoo(dot)com>
Cc: "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: problem logging on with new everyday user
Date: 2012-09-28 14:12:29
Message-ID: alpine.DEB.2.00.1209281009540.10733@booby.gogca.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

John,

> postgres=# \q
> johnp(at)sussancws0114:~/downloads$ /opt/PostgreSQL/8.4/bin/psql -U bruno
> Password for user bruno:
> psql: FATAL: database "bruno" does not exist
> johnp(at)sussancws0114:~/downloads$

> What am I doing wrong?

Without PGDATABASE set, psql assumes that a database with the same name as
the user connecting exists. Just add the database name to the psql command
and you should be all set.

--
Gary Chambers

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Andreas Kretschmer 2012-09-28 14:16:18 Re: problem logging on with new everyday user
Previous Message John 2012-09-28 14:07:29 problem logging on with new everyday user