Re: simple installation problem in windows system

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: Long Cui <choilon2000(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org(dot)
Subject: Re: simple installation problem in windows system
Date: 2008-07-04 14:36:42
Message-ID: 486E357A.5010309@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 04/07/2008 15:03, Long Cui wrote:

> Now I enter c:\Program Files\PostgreSQL\8.3\bin\createdb mydb;
> PG asks me password
> Is the password as superadmin's password or postgre's password what I
> set when postgresql installed in windows
> I try both, but does not work" user administrator password fail"
> so How to log on as superadmin.

A lot of this basic stuff is pretty accessible in the documentation -
have you read up on it there?

Having said that, what you need to do is use the -U option to specify
the Postgres user to use for the connection; if you don't, Postgres will
try to authenticate you as the Windows account under which you're logged
in. Look it up in the docs.

Ray.

------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod(at)iol(dot)ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sam Mason 2008-07-04 14:37:12 8.3 planner handling of IS NULL in aggregations
Previous Message Long Cui 2008-07-04 14:03:02 Re: simple installation problem in windows system