HDBC ODBC Driver Publisher's description
from John Goerzen
HDBC ODBC Driver is the Haskell ODBC backend driver for HDBC.
HDBC ODBC Driver is the Haskell ODBC backend driver for HDBC. This driver has been tested on Windows and on Linux with unixODBC. It should also be compatible with iODBC, though this has not been tested. It should be portable to any platform supported by both Haskell and unixODBC.
This driver is the preferred method of communicating with MySQL from Haskell.
Important note for MySQL users:
Unless you are going to use InnoDB tables, you are strongly encouraged to set
Option = 262144
in your odbc.ini (for Unix users), or to disable transaction support in your DSN setup for Windows users.
If you fail to do this, the MySQL ODBC driver will incorrectly state that it
supports transactions. dbTransactionSupport will incorrectly return True. commit and rollback will then silently fail. This is certainly /NOT/ what you want. It is a bug (or misfeature) in the MySQL driver, not in HDBC.
You should ignore this advice if you are using InnoDB tables.
System Requirements:??? HDBC 0.99.0 or above
??? GHC 6.4.1 or above, or Hugs 2005xx or above
1) ghc --make -o setup Setup.lhs
2) ./setup configure
3) ./setup build
4) ./setup install (as root)
If you're on Windows, you can omit the leading "./".
To use with hugs, you'll want to use hugs -98.
To use with GHC, you'll want to use:
-package HDBC -package HDBC-sqlite3
Or, with Cabal, use:
Build-Depends: HDBC>=0.99.0, HDBC-sqlite3
Program Release Status: Minor Update
Program Install Support: Install and Uninstall