HDBC ODBC Driver

HDBC ODBC Driver is the Haskell ODBC backend driver for HDBC.
Download

HDBC ODBC Driver Ranking & Summary

Advertisement

  • Rating:
  • License:
  • LGPL
  • Price:
  • FREE
  • Publisher Name:
  • John Goerzen
  • Publisher web site:
  • http://software.complete.org/software/projects/show/datapacker

HDBC ODBC Driver Tags


HDBC ODBC Driver Description

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.MYSQL NOTEImportant note for MySQL users:Unless you are going to use InnoDB tables, you are strongly encouraged to setOption = 262144in 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 itsupports 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.Requirements:· HDBC 0.99.2 or above· GHC 6.4.1 or above, or Hugs 2005xx or aboveInstallation:The steps to install are:1) Examine HDBC-odbc.cabal and edit the include-dirs line to point to your local ODBC installation. If necessary, uncomment and edit the extra-lib-dirs line to point to your local ODBC installation.2) ghc --make -o setup Setup.lhs3) ./setup configure4) ./setup build5) ./setup install (as root)If you're on Windows, you can omit the leading "./".Usage:To use with hugs, you'll want to use hugs -98.To use with GHC, you'll want to use: -package HDBC -package HDBC-odbcOr, with Cabal, use: Build-Depends: HDBC>=0.99.2, HDBC-odbcThis package has been tested with unixODBC.


HDBC ODBC Driver Related Software