Skip to content
A mid-level client library for the MySQL database, intended to be fast and easy to use.
Failed to load latest commit information.
Database/MySQL add fieldname to incompatible error for nicer errors May 27, 2015
.hgignore Initial commit. Apr 29, 2011
README.markdown Update mailrank addresses to serpentine Nov 13, 2011
Setup.lhs Initial commit. Apr 29, 2011
mysql-simple.cabal Try to shut GHC 7.10 up Mar 28, 2015


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.


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://

There's also a Mercurial mirror:

  • hg clone

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


This library is written and maintained by Bryan O'Sullivan,

Something went wrong with that request. Please try again.