[mapserver-users] Ogr connection to mysql.

Frank Warmerdam warmerdam at pobox.com
Fri Aug 8 12:08:46 EDT 2008


Νίκος Παπαδάκης wrote:
> Hi to everyone!
> 
> I try to read data from mysql database and i follow the direction
> in this example. http://mapserver.gis.umn.edu/docs/howto/ogrmysql
> I have created a database and a table containing coordinate pairs
> according to the example and placed the .ovf file inside the directory
> defined in shapepath.
> 
> but when i run mapserver ,after some seconds i get the following message:
> 
> 
>   500 Internal Server Error
> 
> The server encountered an internal error or misconfiguration and was 
> unable to complete your request.

Νίκος,

I would encourage you to first try connecting to mysql directly from
ogrinfo, then try doing it using the VRT, and then move to doing it in
the mapfile, but using a commandline program like shp2img (or even mapserv)
against the mapfile.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the mapserver-users mailing list