-
Notifications
You must be signed in to change notification settings - Fork 17
Download & Install HaskellDB
HaskellDB is available on Hackage at http://hackage.haskell.org/package/haskelldb. You can install it using the cabal tool:
> cabal install haskelldb
It compiles with the GHC 6.12. Older versions and other compilers may or may not work.
HaskellDB works with the HDBC driver suite. It previously had support for the HSQL suite, but that code is no longer maintained.
HaskellDB works with the 2.0 HDBC drivers. First, install HDBC and haskelldb-hdbc using cabal:
> cabal install hdbc
> cabal install haskelldb-hdbc
Then, install the driver for your particular database.
haskelldb-hdbc-postgres can be installed with cabal:
> cabal install haskelldb-hdbc-postgresql
haskelldb-hdbc-odbc can installed with cabal:
> cabal install haskelldb-hdbc-odbc
haskelldb-hdbc-sqlite3 can installed with cabal:
> cabal install haskelldb-hdbc-sqlite3
The mysql driver on hackage is not documented on this wiki. Contact the author for more information.
The HSQL drivers are unmaintained and currently unsupported. Volunteers welcome!