Subscribe to
Posts
Comments

This library provides low-level native Haskell bindings for the popular MySQL database. The bindings are written in pure Haskell, and do not use the Foreign Function Interface.

Why another library?

There already exists another MySQL client library, hsql-mysql. That library uses MySQL AB’s client library, and hence is subject to the terms of either the GNU General Public License or MySQL’s commercial license. (The hsql-mysql page states that it is BSD-licensed, but this is incorrect.)

In addition, because this library is written in pure Haskell, it opens up some interesting possibilities not open to other MySQL bindings. Watch this space for details.

License

This library is licensed under the BSD license.

Status

Note: This library is under heavy development, and has not yet reached an official release milestone.

The library can currently talk successfully to MySQL 4.1 servers. It is not yet by any means fully featured.

Download

The darcs repository is available from here:

darcs get http://darcs.serpentine.com/mysql

I’ve submitted some patches to Dominic for the Haskell Crypto library, which this library uses for password authentication. Until Dominic takes my patches, you’ll also need my modified tree:

darcs get http://darcs.serpentine.com/crypto

One Response to “mysql - Haskell language bindings for MySQL”

  1. on 11 Sep 2007 at 16:07jess

    seems you also need the darcs version of binary, to get getLazyByteStringNul

Leave a Reply