mysql icon indicating copy to clipboard operation
mysql copied to clipboard

A lightweight Haskell binding to the C mysqlclient API

Results 13 mysql issues
Sort by recently updated
recently updated
newest added

This is definitely a first pass. I am not sure if this is the correct module structure or if the `Value` type is too "high level" Some of the mysql_stmt_*...

Perhaps use the Cont monad to avoid the pyramids of doom in the `withString` stuff?

I'm having problems connecting to MySQL 5.7 on macOS, using version 0.1.6 (from LTS Haskell 12.26). I get: ``` ConnectionError { errFunction = "connect", errNumber = 2002, errMessage = "Can't...

i can 'mingw-get install msys-perl', which lets me 'perl "C:\Program Files\MySQL\MySQL Server 5.5\bin\mysql_config.pl"' , or even just 'mysql_config.pl', but not just 'mysql_config' so cabal install gives: Linking .\dist\setup\setup.exe ... Configuring...

We can use the pthread api (`pthread_key_create` et al) or a C++ `thread_local` variable to automatically initialize the client library on each thread needed.

This is a feature request to integrate with the GHC I/O manager and use the non-blocking C API.

The test is useless and when run automatically it likely fails for reason not related to the package. See for example: https://github.com/NixOS/nixpkgs/issues/20478

GHC 7.8 brought [interruptible](https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/ffi-chap.html#interruptible-foreign-calls) FFI. This might be very useful sometimes, especially upon hanging request through FFI. Some [more context on a reddit thread](https://www.reddit.com/r/haskell/comments/1vsw1z/how_to_work_around_blocking_in_an_unsafe_ffi_call/). What do you think? Would that...

ENUM and SET values show up with `fieldType = String`. This is actually an old upstream bug: https://bugs.mysql.com/bug.php?id=31134 But the documentation has in fact been updated to reflect the status...

I'm trying to use mysql-0.1.1.8 on a Windows system. I managed to circumvent https://github.com/bos/mysql/issues/3 by passing the flags manually via `--extra-include/lib-dirs` to cabal. However, there are more problems because pthread...