mysql: A low-level MySQL client library.

[ bsd3, database, library ] [ Propose Tags ] [ Report a vulnerability ]

A low-level client library for the MySQL database, implemented as bindings to the C mysqlclient API.

Important licensing note: This library is BSD-licensed under the terms of the MySQL FOSS License Exception http://www.mysql.com/about/legal/licensing/foss-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.


[Skip to Readme]

Flags

Manual Flags

NameDescriptionDefault
developer

operate in developer mode

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.1.0, 0.1.1.1, 0.1.1.2, 0.1.1.3, 0.1.1.4, 0.1.1.5, 0.1.1.6, 0.1.1.7, 0.1.1.8, 0.1.2, 0.1.2.1, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.7.2, 0.1.7.3, 0.2, 0.2.0.1, 0.2.1
Change log ChangeLog.md
Dependencies base (<5), bytestring (>=0.9 && <1.0), containers, semigroups (>=0.11 && <0.19) [details]
License BSD-3-Clause
Copyright Copyright 2011 MailRank, Inc. Copyright 2013 Bryan O'Sullivan <bos@serpentine.com>
Author Bryan O'Sullivan <bos@serpentine.com>
Maintainer Paul Rouse <pyr@doynton.org>
Category Database
Home page https://github.com/paul-rouse/mysql
Bug tracker https://github.com/paul-rouse/mysql/issues
Source repo head: git clone http://github.com/paul-rouse/mysql
Uploaded by paulrouse at 2021-10-20T17:06:53Z
Distributions Arch:0.2.1, FreeBSD:0.1.1.8, LTSHaskell:0.2.1, NixOS:0.2.1, Stackage:0.2.1
Reverse Dependencies 14 direct, 13 indirect [details]
Downloads 27365 total (110 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user [build log]
All reported builds failed as of 2021-10-20 [all 2 reports]

Readme for mysql-0.2.1

[back to package description]

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, bos@serpentine.com, to whom all of the credit is due. It is now being maintained by Paul Rouse, pyr@doynton.org.