[Haskell-cafe] The state of database libraries

Alistair Bayley alistair at abayley.org
Fri Jul 4 11:16:37 EDT 2008


2008/7/4 Chris Eidhof <chris at eidhof.nl>:
>
> I'm figuring out how to do databases in Haskell (on OS X). So far, I've tried the following approaches:
>
> 1. hdbc. I'd like to connect to MySQL, so I need the ODBC backend. I couldn't get this to work under OS X, while I installed myodbc, which seems to be broken.
>
> 2. hsql. The packages on hackage don't compile, so I grabbed the darcs version.

Bummer, dude.

The only database library that directly supports MySQL is HSQL. If you
want to use another library, you'll have to get the ODBC MySQL backend
working.

Alistair


More information about the Haskell-Cafe mailing list