From: | Doug McNaught <doug(at)wireboard(dot)com> |
---|---|
To: | joe(at)jwebmedia(dot)com |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Can't login/createdb |
Date: | 2001-12-05 20:54:42 |
Message-ID: | m3wv01e6b1.fsf@belphigor.mcnaught.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Joe Koenig <joe(at)jwebmedia(dot)com> writes:
> I installed postgres and started it up as the post-installation-notes
> file says to do. It starts up just fine, but I cannot log into the
> interactive monitor, nor can I create any databases, even as root. I
> checked the pg_hba.conf file and it is set to let all local users log
> in. Whenver I type:
>
> psql
>
> to try and log in, I get FATAL 1: Database "username" does not exist in
> the system catalog. I've used pgsql before, but never installed it, so I
> assume I missed something stupid, but looking back through the docs I'm
> still missing it. Can anyone help me? Thanks,
What you need to do:
1) Become user 'postgres' (or whatever the postmaster is running
as)--this is the Postgres superuser.
2) Run "createuser" to create other allowed users.
3) Run "createdb" to create other databases.
4) Use "psql <dbname>" to connect to them.
Make sense?
-Doug
--
Let us cross over the river, and rest under the shade of the trees.
--T. J. Jackson, 1863
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Sullivan | 2001-12-05 20:54:44 | Exited with status. . . codes |
Previous Message | Jan Wieck | 2001-12-05 20:48:56 | Re: Use of cursor in PLPGSQL function |