I would like to show raster from database. I read article [How can I add a PostGIS raster layer to my MapServer map?](http://postgis.net/docs/RT_FAQ.html) and created mapfile according by this. I get 500 - Internal server error.

When I display this raster in QGIS via PostGIS, the error message from mapserver is empty. I can read with mapserver to show vector data from the same database.

Have you some idea how solve this?

Part of mapfile with layer:

```
LAYER
  NAME eroze_cp

  TYPE raster

  STATUS ON

  DATA "PG:host='localhost' port='5432' dbname='mydb' user='me' password='****' schema='myschema' table='myrast' mode='2'" 

  PROJECTION

    "init=epsg:102067"

  END 

  PROCESSING "NODATA=-9999"

  PROCESSING "SCALE=AUTO"

END

```