Re: password

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: password
Date: 2011-02-21 05:44:22
Message-ID: 4D61FBB6.1030203@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 02/20/11 9:15 PM, Sachin Srivastava wrote:
> In case you dont remember the password you set for user 'postgres'
> then you can change the same via "Right Click My
> Computer"-->"Manage"-> Users..

note that if you change it here, you also need to change it in the
postgres service descriptor, in Control Panel->Administration
Tools->Services

when you initially connect to postgres wtih psql or pgadmin-III, specify
the user as `postgres` and then once connected,

CREATE USER yourname WITH PASSWORD 'somepass' createdb createrole;

and this will create a SQL account for you with that sql password, and
give this user permission to create databases and roles (users).

In response to

  • Re: password at 2011-02-21 05:15:14 from Sachin Srivastava

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Roedy Green 2011-02-21 06:21:43 Re: password
Previous Message John R Pierce 2011-02-21 05:40:18 Re: multiple tables as a foreign key