Re: Login problem
John DeSoi <desoi@pgedit.com>
From: John DeSoi <desoi@pgedit.com>
To: Danjel Jungersen <danjel@jungersen.dk>
Cc: pgsql-novice@postgresql.org
Date: 2005-12-18T14:00:00Z
Lists: 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