[mapguide-users] Precision when selecting polygons

Traian Stanev traian.stanev at autodesk.com
Thu Apr 17 09:32:55 EDT 2008


You need to have the user name and password in the connection string, and not in the separate username and password fields that you see in Studio. So something like:

MYSQL:database,username=myself,password=secret,host=mycomputer,port=666

Is this what you are doing?


Traian


> -----Original Message-----
> From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-
> bounces at lists.osgeo.org] On Behalf Of Krunoslav
> Sent: Thursday, April 17, 2008 6:09 AM
> To: mapguide-users at lists.osgeo.org
> Subject: Re: [mapguide-users] Precision when selecting polygons
>
>
>
>
> Kenneth, GEOGRAF A/S wrote:
> >
> > My instructions for installing OGR are:
> > 1. Delete the FDO folder from MgOS
> > 2. Download FDO WindowsSDK
> > 3. Extract Bin folder from WindowsSDK
> > 4. Rename Bin FDO and place as folder deleted in step 1
> >
> >
>
> Thanks, works great. Still I can't connect to MySQL with OGR: I
> followed
> instructions from here
> http://gdal.osgeo.org/ogr/drv_mysql.html
>
> So, feature source looks like this:
>
> Data Source: MySQL:somedatabase
>
> User name: username
> Password: password
>
> When i press Test Connection, following error occures:
>
> System.FormatException: String was not recognized as a valid Boolean.
>    at System.Boolean.Parse(String value)
>    at
> Autodesk.MapGuide.Studio.Site.Comm.RequestManager.TestConnection(String
> resourceId, String provider, String connectionString)
>    at Autodesk.MapGuide.Studio.Site.FeatureSourceInfo.TestConnection()
>
>
> --
> View this message in context: http://www.nabble.com/Precision-when-
> selecting-polygons-tp16718926s16610p16742886.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users


More information about the mapguide-users mailing list