It looks like a database connection error. Are you able to connect with
psql using those parameters? Is tinyows on the same server as your database?
You might also try using 127.0.0.1 instead of localhost.
On 9/20/22 04:12, Boubacar Bah wrote:
Hello, I hope you are doing well.
here I need your help concerning tinyows. I try to connect tinyows to
postgis but it sends me an error saying that the connection failed. I
really don't know what to do anymore.
any help will be good.
here are the configuration parameters
<tinyows online_resource="http://127.0.0.1/cgi-bin/tinyows
<http://127.0.0.1/cgi-bin/tinyows>"
schema_dir="C:/ms4w/apps/tinyows/schema/"
check_schema="0">
<pg host="localhost" user="postgres" password="97071884" dbname="mli"
port="5432"/>
<metadata name="TinyOWS Server"
title="TinyOWS Server - WFS-T demo_tyny Service" />
<contact name="TinyOWS Server"
site="http://www.tinyows.org/ <http://www.tinyows.org/>"
email="tinyows-us...@lists.maptools.org
<mailto:tinyows-us...@lists.maptools.org>" />
<layer retrievable="1"
writable="1"
ns_prefix="tows"
ns_uri="http://www.tinyows.org/ <http://www.tinyows.org/>"
name="demo_tyny"
title="Frida Parks" />
</tinyows>
and the error message.
<ows:ExceptionReportxmlns="http://www.opengis.net/ows
<http://www.opengis.net/ows>"xmlns:ows="http://www.opengis.net/ows
<http://www.opengis.net/ows>"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
<http://www.w3.org/2001/XMLSchema-instance>"xsi:schemaLocation="http://www.opengis.net/ows
<http://www.opengis.net/ows>
http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd
<http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd>"version="1.1.0"language="en">
<ows:ExceptionexceptionCode="ConnectionFailed"locator="init_OWS">
<ows:ExceptionText>Connection to database failed</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>
_______________________________________________
MapServer-users mailing list
MapServer-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
MapServer-users mailing list
MapServer-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users