[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", "127.0.0.1");

I use "localhost" instead of "127.0.0.1"

> define("CONNECTION_PROXY", "127.0.0.1");

I use "<ip>" instead of "127.0.0.1"

In my pg_hba.conf I use

 # IPv4 local connections:
 host    all         all         127.0.0.1/32          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

HTH

Armin




More information about the Mapbender_users mailing list