[Haskell-cafe] Use MySQL from Haskell

david48 dav.vire+haskell at gmail.com
Fri Jun 19 03:29:40 EDT 2009

> Marciej,
> 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 recommendation.What worked for me :

1) Install GHC 6.10.3 from the binary tarball
2) Intall the haskell platform. ( not without problems, sadly )
3) cabal install HDBC-mysql


That worked both on Kubuntu 9.04 and on Centos 5.3

On kubuntu it was a pain in the .... to figure out which files were
needed for opengl. I had to make a symlink by hand. ( opengl was built
by the haskell platform )

On centos 5.3 ... libedit was the problem, but once the haskell
platform is installed, cabal install hdbc-mysql works like a charm.


More information about the Haskell-Cafe mailing list