Re: [Haskell-cafe] Odd HDBC connection bug

2012-07-07 Thread William Shackleton
I found the solution to this problem: for both libraries, I had to wrap calls in 'withRTSSignalsBlocked' from HDBC-mysql. On 16 June 2012 00:32, William Shackleton wrote: > Hi > > I'm having issues with HDBC when connecting to a remote MySQL server - > certain queries cause the DB connection to

[Haskell-cafe] Odd HDBC connection bug

2012-06-15 Thread William Shackleton
Hi I'm having issues with HDBC when connecting to a remote MySQL server - certain queries cause the DB connection to be lost. The following program demonstrates this: import Database.HDBC import Database.HDBC.ODBC main = do conn <- connectODBC "DSN=owlro" putStrLn "Connected"