On 29/12/2011 12:00, Milan Bulatović wrote:
> Hello Raymond.
>
> I am software engineer in small software company "Promona" from Split in
> Croatia.
> We work in C++, C# and with MYSQL and MSSQL.
> This is my first step with PostgreSQL so I need help.
Hello Milan,
Please keep your replies on the list - that way others will see them and
possibly benefit from them.
[snip]
> I receive message that problem is in pg_hba.conf file.
>
> My question is where to put that file and what to put in it?
It will have been created automatically for you when you installed
PostgreSQL - the database won't work without it.
> I'll find that file sample in C:\Program Files\PostgreSQL\9.1\share as
> pg_hba.conf file.sample. I make my own file pg_hba.conf file in same
> directory.
No need - and the DB server won't use that one anyway. Just edit the
real one, which ought to be in the PostgreSQL data directory - I can't
remember where it goes by default (I've put mine somewhere
non-standard), but it might be:
C:\Program Files\PostgreSQL\9.1\data\pg_hba.conf
If you've already changed settings in postgresql.conf, it'll be in the
same directory.
Hope this helps,
Ray.
--
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie