Skip to content

Can't connect to MySQL server #6

@kdridi

Description

@kdridi

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)"})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions