[Haskell-cafe] Use MySQL from Haskell
Daniel van den Eijkel
dvde at gmx.net
Fri Jun 19 19:16:35 EDT 2009
Database.HDBC.getTables works fine here (XP, ghc 6.10.2, HDBC-2.1.0,
HDBC-ODBC-18.104.22.168) - it gives me the list of all tablenames, as
intended. Which HDBC version do you use?
Maciej Podgurski schrieb:
> Does Database.HDBC.getTables work for you? I successfully created a
> new table and selected data from a database but getTables always
> returns an empty list (what is not a big problem since a query "show
> tables" works fine).
> Besh wishes,
> W dniu 19.06.2009 13:50 Daniel van den Eijkel pisze:
>> The same with me - I'm on XP, and HDBC-odbc is the library I got
>> running to access the MySQL database.
>> Michael Snoyman schrieb:
>>> I went the HDBC route and got the same problem. Although it does not
>>> seem to be officially blessed, try installing the time-1.1.3
>>> package. It's working for me at least, which I know is a dubious
>>> Also, I am currently using the hdbc-odbc package for accessing
>>> MySQL. I couldn't get hdbc-mysql to work properly. I hope that once
>>> I get this project working right, I'll have a chance to dig into the
>>> hdbc-mysql issue itself.
>>> Good luck!
More information about the Haskell-Cafe