Re: Login problem - Mailing list pgsql-novice

From John DeSoi
Subject Re: Login problem
Date
Msg-id EAE7A21E-DB07-4EB3-9BE6-37449D945804@pgedit.com
Whole thread Raw
In response to Re: Login problem  ("Danjel Jungersen" <danjel@jungersen.dk>)
Responses Re: Login problem  ("Danjel Jungersen" <danjel@jungersen.dk>)
List pgsql-novice
On Dec 18, 2005, at 5:44 AM, Danjel Jungersen wrote:

> Below are instructions on how to login without a password, and a
> point in the direction on how to change it, but I keep getting:
> psql: FATAL: User "me" does not exist.
>
> After some tries I got pass the database does not exist ;-)
>
> Is there a user that is allways there, or can I see a list somewhere
> ?
> The "postmaster" is mentioned, so I have tried that "root" and
> "Postmaster", no luck...
>


The default superuser name is "postgres". There is generally a
default database called template1. In PostgreSQL 8.1 and later, I
believe the default database name has changed to "postgres" as well.
So try

psql -U postgres template1

or

psql -U postgres postgres

John



John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL


pgsql-novice by date:

Previous
From: "Danjel Jungersen"
Date:
Subject: Re: Login problem
Next
From: Srinivas Iyyer
Date:
Subject: COPY command, linking foreign keys