mysql-simple

A mid-level MySQL client library.

https://github.com/bos/mysql-simple

Version on this page:0.2.2.4@rev:2
LTS Haskell 17.10:0.4.5
Stackage Nightly 2021-05-06:0.4.5
Latest on Hackage:0.4.5

See all snapshots mysql-simple appears in

BSD-3-Clause licensed and maintained by Bryan O'Sullivan
This version can be pinned in stack with:mysql-simple-0.2.2.4@sha256:18cde9e821a439c956ce5079b8709dd99c71cc9e2820b55087ae971f593a4f16,1984

Module documentation for 0.2.2.4

  • Database
    • Database.MySQL
      • Database.MySQL.Simple
        • Database.MySQL.Simple.Param
        • Database.MySQL.Simple.QueryParams
        • Database.MySQL.Simple.QueryResults
        • Database.MySQL.Simple.Result
        • Database.MySQL.Simple.Types

mysql-simple: mid-level bindings to the mysqlclient library

This library is a mid-level Haskell binding to the MySQL mysqlclient client library. It is aimed at speed and ease of use.

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. This API is huge and of dubious performance worth, so it’s not currently a priority for me. 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/bos/mysql-simple.git

There’s also a Mercurial mirror:

  • hg clone http://bitbucket.org/bos/mysql-simple

(You can create and contribute changes using either git or Mercurial.)

Authors

This library is written and maintained by Bryan O’Sullivan, bos@serpentine.com.