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).