ogr 1.3.2 -> mysql

robert fritz robert-fritz at WEB.DE
Fri Jun 2 09:19:11 EDT 2006



Hello,

I have just installed the latest MS4W package, built with GDAL/OGR 1.3.2. Now I'm trying to connect to MySQL using OGR but I get an error message:
------>>>>
[02-Jun-2006 15:01:08] PHP Warning: [MapServer Error]: msOGRFileOpen(): Open failed for OGR connection `MYSQL:lurchingen'.
MySQL connect failed for: lurchingen
Access denied for user 'ODBC'@'localhost' [mailto:'ODBC'@'localhost'] (using password: NO)
------<<<<

My map-file configuration :
------>>>>
LAYER
 NAME "fs_mysql"
 TYPE Polygon
 STATUS ON
 connectiontype ogr
 connection "MYSQL:lurchingen,user=root,password=lala,host=localhost,port=3306"
 CLASS 
 COLOR 23 1 226
 OUTLINECOLOR 0 0 0 
 END 
 TEMPLATE "x" 
END
------<<<<

I have checked the connection and the table using ogrinfo, included by the ms4w package, and everything works fine there.

What is wrong with my mapfile configuration?

Robert
 


	
Verschicken Sie romantische, coole und witzige Bilder per SMS! 
Jetzt bei WEB.DE FreeMail: *http://f.web.de/?mc=021193* [http://f.web.de/?mc=021193] 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060602/a32550b7/attachment.html


More information about the mapserver-users mailing list