You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm a beginner in haskell and i have a problem using haskelldb.
I've developped this code : http://hpaste.org/76300
When i use ghci, it works like a charm. However, when i compile it using ghc, the program connects sometime to the mysql server and sometime not.
The program is quite simple so i'm wondering if you have any clue about the error.
Thank you !
Test: user error (SQL error: SqlError {seState = "", seNativeError = 2003, seErrorMsg = "Can't connect to MySQL server on '192.168.1.10' (4)"})
The text was updated successfully, but these errors were encountered:
$ ghc --version The Glorious Glasgow Haskell Compilation System, version 7.4.2
cabal list --installed haskelldb
haskelldb
Synopsis: A library of combinators for generating and executing SQL
statements.
Default available version: 2.2.1
Installed versions: 2.2.1
Homepage: https://github.com/m4dc4p/haskelldb
License: BSD3
haskelldb-hdbc
Synopsis: HaskellDB support for HDBC.
Default available version: 2.2.1
Installed versions: 2.2.1
Homepage: https://github.com/m4dc4p/haskelldb
License: BSD3
haskelldb-th
Synopsis: Template Haskell utilities for HaskellDB.
Default available version: 2.1.0
Installed versions: 2.1.0
Homepage: http://trac.haskell.org/haskelldb-th
License: BSD3
Hello,
I'm a beginner in haskell and i have a problem using haskelldb.
I've developped this code : http://hpaste.org/76300
When i use ghci, it works like a charm. However, when i compile it using ghc, the program connects sometime to the mysql server and sometime not.
The program is quite simple so i'm wondering if you have any clue about the error.
Thank you !
Test: user error (SQL error: SqlError {seState = "", seNativeError = 2003, seErrorMsg = "Can't connect to MySQL server on '192.168.1.10' (4)"})
The text was updated successfully, but these errors were encountered: