mysql

A low-level MySQL client library. https://github.com/paul-rouse/mysql

Version on this page:0.1.1.8
LTS Haskell 8.20:0.1.4
Stackage Nightly 2017-06-28:0.1.4
Latest on Hackage:0.1.4
BSD3 licensed by Bryan O'Sullivan
Maintained by Paul Rouse

Module documentation for 0.1.1.8

There are no documented modules for this package.

mysql: bindings to the mysqlclient library

This library is a Haskell binding to the MySQL mysqlclient client library. It is a fairly faithful, low level library that implements most of the MySQL client API. The major departure from the C API is that in Haskell, resource management is mostly automatic and safe.

This library deliberately avoids the question of providing a "good" API. Its purpose is to serve as a base upon which higher-level libraries can be built.

Licensing

This library is BSD-licensed under the terms of the MySQL FOSS License Exception.

Since this library links against the GPL-licensed mysqlclient library, a non-open-source application that uses it may be subject to the terms of the GPL.

To do

  • Add support for prepared statements. The prepared statement API is huge and of dubious performance value, so it's not currently a priority for us. Patches welcome!

Get involved!

We are happy to receive bug reports, fixes, documentation enhancements, and other improvements.

Please report bugs via the github issue tracker.

Master git repository:

  • git clone git://github.com/paul-rouse/mysql.git

Authors

This library was written by Bryan O'Sullivan, , to whom all of the credit is due. It is now being maintained by Paul Rouse, .

Changes

0.1.4

  • Expose mysqlthreadend() as endThread

0.1.3

  • Safer concurrency - see https://ro-che.info/articles/2015-04-17-safe-concurrent-mysql-haskell
  • Better support for building against MariaDB (not well tested).
  • Additional C binding: mysqlgetserver_version().

0.1.2.1

  • Fix bystestring-valued connectOptions sometimes not being null terminated at the correct place (avoid unsafeUseAsCString).

0.1.2

  • Fix setup for cabal 1.24
  • New maintainer and GitHub location - with many thanks to Bryan O'Sullivan for all of the past work on this module, and for facilitating the transfer of maintenance responsibility.
comments powered byDisqus