Hello
(excuse my bad english)

I'm using Postgis whith encrypted password in mapfile

  CONFIG "MS_ENCRYPTION_KEY" "C:/pass.txt"

...

  LAYER
    NAME 'xxx'
    CONNECTIONTYPE postgis
    CONNECTION "host=127.0.0.1 dbname=xxx user=postgres
password={718CEFFD7A0C5C7064B2A3735E4FA44B} port=5432"
    DATA "geom FROM (select id, geom, xxx from xxx) as foo using unique id
using SRID=4326"

The problem occure when i try to perform query. The log contain:

PHP Warning:  pg_last_error(): supplied argument is not a valid PostgreSQL
...
P.MAPPER: PG Connection error:
P.MAPPER: Could not connect to database

This problem disapears when I use clear password.




-- 
Mouanis LAHLOU

Département de Statistique et Informatique Appliquées,
Institut Agronomique et Vétérinaire Hassan II,
B.P. 6202. Rabat–Instituts, Rabat MAROC
0663 377 211
mouanis.lah...@gmail.com
m.lah...@iav.ac.ma
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to