OGR MySQL connection problem
antti siukola
siukola.antti at GMAIL.COM
Fri Jun 9 04:45:16 PDT 2006
Hi!
I've created an ovf-file which describes a layer like this
********************************************************
<OGRVRTDataSource>
<OGRVRTLayer name="layername">
<SrcDataSource>MYSQL:layername,user=user,password=password,host=localhost,port=3306</SrcDataSource>
<SrcSQL><SQL QUERY></SrcSQL>
<GeometryField encoding="WKT" field="geom"/>
</OGRVRTLayer>
</OGRVRTDataSource>
********************************************************
and ogrinfo gives me this
********************************************************
ogrinfo kaavahanke.ovf
ERROR 4: Update access not supported for VRT datasources.
ERROR 1: Failed to open datasource
`MYSQL:layername,user=user,password=password,host=localhost,port=3306'.
FAILURE: Unable to open datasource `filename.ovf' with the following drivers.
<list of drivers including VRT>
********************************************************
I'm using GDAL 1.3.2. and MapServer 4.8.3.
What have I configured incorrectly?
More information about the MapServer-users
mailing list