[Featureserver] MySQL access error
Christopher Schmidt
crschmidt at metacarta.com
Tue Aug 21 14:44:44 EDT 2007
On Tue, Aug 21, 2007 at 12:11:08PM -0500, Matt Priour wrote:
> I am attempting to read geometries from a remote MySQL database that I have read-only privileges on.
>
> Here is what I have in my config file:
> [county]
>
> type=OGR
>
> dsn=MYSQL:remap,user=XX,password=XX,host=XX.XX.XX.XX,port=3306
>
> layer=county_data
>
> And here is the error I get when attempting to fetch a resource from there with FS
>
> An error occurred: Unable to open: MYSQL:remap,user=XX,password=XX,host=XX.XX.XX.XX,port=3306
This error message is passed up directly from ogr. Can you use ogrinfo
to access this datasource on the command line?
Regards,
--
Christopher Schmidt
MetaCarta
More information about the Featureserver
mailing list