
Clive, I see that HaskellDb requires htoolkit, so that's no help. Doesn't MySql listen on a port? Is that protocol documented? I've used postgresql that way from Haskell. Another thought, which I hesitate to even mention, would be to call the commandline tool via System.Cmd, pipe the results to a file, and read the file, and parse the results. Slow and ugly, but you could have it working in an hour. Seems like we could even use the higher level abstractions of HSQL or HaskellDB, but sub in this SlowAndUglyButPortable for the lower level access. John
From: "Clive Brettingham-Moore"
Subject: [Haskell-cafe] HToolkit HSQL on Windows/GHC To: I realise that this is a little technical for this list, but I thought that I'd check here before starting on the hard-core lists.
Is there an easy way to build the HToolkit HSQL library for GHC (6.0.1 when I tried, 6.2.1 now) on windows (particularly MySQL/Windows XP, but I wont say no to postgres, ODBC & sqlite)? I assume people have tired and succeded, but I got lost [I think] in the nasty place between the unix/cygwin libraries in GHC and the Windows focus of the compiled MySQL client library.
Since haskell is mainly a hobby for me, and I don't have a lot of free time I haven't dug very deep, but not being able to interface my two of my favourite constructs (functional programming and relational databases) is getting to me.
So any takers?
C