Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Database > Database APIs

    HDBC ODBC Driver 1.0.1.1

    Download button

    No screenshots available
    Downloads: 516  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    John Goerzen | More programs
    LGPL / FREE
    March 9th, 2007, 15:46 GMT
    ROOT / Database / Database APIs

     Read user reviews (0)  Refer to a friend  Subscribe

    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 NOTE

    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.

    Requirements:

    · HDBC 0.99.2 or above
    · GHC 6.4.1 or above, or Hugs 2005xx or above

    Installation:

    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.lhs

    3) ./setup configure

    4) ./setup build

    5) ./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-odbc

    Or, with Cabal, use:

    Build-Depends: HDBC>=0.99.2, HDBC-odbc

    This package has been tested with unixODBC.

    Product's homepage

      


    TAGS:

    ODBC Driver | HDBC Driver | database driver | HDBC | ODBC | database

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM