[Haskell-cafe] HaskellDB/ODBC/MySQL issue
Neil Davies
semanticphilosopher at gmail.com
Tue Oct 19 12:51:42 EDT 2010
Hi
I can't seem to get the combination of HaskellDB/ODBC/MySQL to even get off the ground, example:
import OmlqDBConnectData (connect'options)
import Database.HaskellDB
import Database.HaskellDB.HDBC.ODBC (odbcConnect)
import Database.HaskellDB.Sql.MySQL (generator)
main = odbcConnect generator connect'options
$ \db -> tables db >>= print
gives me
Prelude.(!!): index too large
Suggestions?
Cheers
Neil
More information about the Haskell-Cafe
mailing list