Re: Postgres 9.5 - password for new windows user

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: "Weisenberg, Sofy Hefets" <sweisenb(at)vols(dot)utk(dot)edu>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Postgres 9.5 - password for new windows user
Date: 2016-02-02 22:41:14
Message-ID: 56B1308A.6070105@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 02/02/2016 07:14 AM, Weisenberg, Sofy Hefets wrote:
> Hello,
>
> I am brand new to Postgres 9.5 and have just installed it on my Windows
> OS, using the Win x86-64 installer, downloaded from:
>
> http://www.enterprisedb.com/products-services-training/pgdownload#windows
>
> I am trying to setup a new database from the Windows command prompt (run
> as admin) and I am being prompted for a password after entering the
> command “psql -U postgres” from the directory containing psql.exe.

Are you sure?:

http://www.enterprisedb.com/docs/en/9.3/pginstguide/PostgreSQL_Installation_Guide-07.htm#TopOfPage

Figure 3.4

>
> At no point during installation was I asked to create a password, so
> from reading
> http://pgsnake.blogspot.com/2010/07/postgresql-passwords-and-installers.html
> , I understand that what I need is a service password. I have tried,
> unsuccessfully, to find such a password. The file pgpass.conf
> (C:\Users\<Username>\AppData\Roaming\postgresql\pgpass.conf ) is
> blank, and manually entering something produces no results when I try to
> type it into the command prompt.
>
> Any ideas on how I can find/set this password?
>
> Thank you,
>
> *Sofy H. Weisenberg*
> Graduate Research Assistant
> Institute of Biomedical Engineering
> University of Tennessee, Knoxville
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Melvin Davidson 2016-02-02 22:47:43 Re: Is it possible to select index values ?
Previous Message Jonathan Vanasco 2016-02-02 22:40:46 Re: Is it possible to select index values ?