Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
MySQL module for OCaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Christian Lindig <lindig@i...>
Subject: MySQL module for OCaml

I like to announce the availability of OCamlMySQL:  a module that
gives access to MySQL databases from OCaml.  The source code and some
details (README and interface) can be found here:


The source comes with GNU Autoconf support which I hope will help to
increase portability of the code.  However, this is an early release
and I like to invite you to improve things.  I especially would
welcome a review of the C code dealing with the garbage collector and
additions to the file.  Currently the configure script
finds all relevant files on my system (Debian 2.1 but OCaml and MySQL
in /usr/local) but probably needs some fixes for other popular
platforms like RedHat, SuSE, Solaris.
I know that there are more ambitious database projects for OCaml
(listed on  My intention is to keep
things simple and robust.  The code was inspired by the Moscow ML
module for MySQL access (Moscow ML is based on Caml Light).
-- Christian

 Christian Lindig       Gaertner Datensysteme GbR, Braunschweig,  Germany 
                        phone: +49 531 233 55 55   fax: +49 531 233 55 56