[GRASS-user] version 6.4.3 and mysql

Hamish hamish_b at yahoo.com
Sun Jun 30 18:04:23 PDT 2013


Mike wrote:
> I have a question about Version 6.4.3 for Windows 7. Is there a
> way to access MySql databases from within the software? I don't
> see it listed as one of the drivers in the GUI, but am hoping
> there is a means by which to connect and retrieve or update data.


Hi,

looking at 'g.version -b' there it seems that the Windows installer
was not built with MySql support. (Sqlite, PostgreSQL, DBF, and
ODBC are there) I don't think there's any big reason for it not
being there except that the packager didn't add that option
when they were building it. (it's a bit more that just adding
the --with-mysql switch in the configuration, we also have to
build and ship the needed mysql libraries)
I'm not sure how much extra work it would be to add it, but it's
"just" a matter of rebuilding the package as far as I know. If you
are familiar with that sort of thing all the instructions are on
the wiki and build scripts in the tools directory our addons repo-
sitory and mswindows/ directory in the main source code. It relies
on the osgeo4w build infrastructure,

 http://trac.osgeo.org/osgeo4w/


Otherwise please feel free to file a wish ticket in the trac system,
and hopefully someone with talents in the area can enable it for
you. I think MySql on Windows is a pretty common combination, so
it sounds like a reasonable request to me.


For now you might see if you can communicate with mysql through 

the common ODBC driver?



regards,
Hamish



More information about the grass-user mailing list