<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16481" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I am attempting to read geometries from a remote
MySQL database that I have read-only privileges on.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Here is what I have in my config file:</FONT></DIV>
<DIV><FONT size=2>
<P>[county]</P>
<P>type=OGR</P>
<P>dsn=MYSQL:remap,user=XX,password=XX,host=XX.XX.XX.XX,port=3306</P>
<P>layer=county_data</P>
<P><FONT face=Arial>And here is the error I get when attempting to fetch a
resource from there with FS</FONT></P>
<P>An error occurred: Unable to open:
MYSQL:remap,user=XX,password=XX,host=XX.XX.XX.XX,port=3306<BR> File
"./FeatureServer\Server.py", line 200, in cgiHandler<BR>
service = Server.load(*cfgfiles)<BR> File "./FeatureServer\Server.py",
line 44, in _load<BR> datasources[section] =
cls.loadFromSection(<BR> File "./FeatureServer\Server.py", line 28, in
_loadFromSection<BR> return objclass(section,
**objargs)<BR> File "./FeatureServer\DataSource\OGR.py", line 37, in
__init__<BR> self.ds = ogr.Open( dsn,
int(writable) )<BR> File "C:\Python24\Lib\site-packages\ogr.py", line 127,
in Open<BR> raise OGRError, 'Unable to open: ' +
filename<BR></P>
<P><FONT face=Arial>I can access this database directly from the same box as FS
via MySQL Administrator</FONT></P></FONT></DIV>
<DIV><FONT face=Arial size=2>Matt Priour<BR></FONT><FONT face=Arial
size=2>Kestrel Computer Consulting</FONT></DIV>
<DIV><FONT face=Arial size=2><A
href="mailto:map@plateauwildlife.com"></A></FONT> </DIV></BODY></HTML>