Re: Install as program

"Magnus Hagander" <[email protected]> Thu, 12 May 2005 10:06:26 +0200
Newsgroups gmane.comp.db.postgresql.devel.win32
Message-ID <[email protected]>
> When PostgreSQL is installed as a program, the install does 
> not ask for a user name or password.

Correct. This is because it doesn't do an initdb. You are required to do
this manually


> How does someone connect to the Database Server, without a 
> user name or password, especially, if the database server has 
> no accounts?

These are set when you run "initdb". I beleive if you don't specify
anything at all, you will get:
1) The same username as the windows username used to run initdb
2) No password
3) Trust authentication

> 
> BTW: I did "start database" and the database server
>          was running.

If you did this without doing initdb, it means you had an old data
directory aronud. In which case the password will be whatever you
assigned that installation.


//Magnus

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [email protected]