[Mapbender-users] Unable to login (function.pg-connect)

Armin Saul armin at saulonline.de
Thu Jan 8 11:33:42 EST 2009

Christian Gadge schrieb:
> else {
>     define("DBSERVER", "");

I use "localhost" instead of ""

> define("CONNECTION_PROXY", "");

I use "<ip>" instead of ""

In my pg_hba.conf I use

 # IPv4 local connections:
 host    all         all          md5

Your postgresql.conf should have a line like

listen_addresses = 'localhost'

Check the postgres-connection via psql. The user postgres should be able
to log in to the database by using the following command:

psql -d mapbender -h localhost -U postgres -W



More information about the Mapbender_users mailing list