[Mapbender-users] problems connecting to postgresql

Michael Schulz mschulz at webgis.de
Sat Jan 26 17:35:41 EST 2008


Hi Pedro,

i think you only have to remove the "<" and ">" signs that enclose
localhost in mapbender.conf:

define("DBSERVER", "localhost");

this is true for all other defines in this section.

Cheers, Michael


2008/1/26, Pedro Martinez Arbizu <pmartinez at senckenberg.de>:
> Hello, trying a brand new installation of Mapbender on Debian Etch
> with, Postgresql 8.1.11 and Postgis.
>
> Following error apears:
>
> Warning: pg_connect() [function.pg-connect]: Unable to connect to
> PostgreSQL server: could not translate host name "<localhost>" to
> address: Name or service not known in
> /var/www/mapbender/http/php/database-pgsql.php on line 97
>
> Any idea?
>
> Thanks pedro
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>


-- 
-----------------------------------------------------------
Michael Schulz
mschulz at webgis.de

in medias res
Gesellschaft für Informationstechnologie mbH

In den Weihermatten 66
79108 Freiburg

Tel  +49 (0)761 556959-5
Fax +49 (0)761 556959-6

http://www.webgis.de / http://www.zopecms.de
-----------------------------------------------------------


More information about the Mapbender_users mailing list