Open Source
MIT/X11
Ocaml-Sqlite
[16-Apr-2004, version
0.3.5,
Alpha]
Bindings for accessing Sqlite databases from ocaml programs.
OCaml-SQLite3
[26-Feb-2007, version
0.12,
Beta]

OCaml bindings to the SQLite 3 database access library.
Lucent Public License
Galax
[18-Feb-2005, version
0.5.0,
Beta]


Galax is an open-source implementation of XQuery 1.0, the W3C XML Query Language. Galax closely tracks the definition of XQuery 1.0 as specified by the W3C and also implements XPath 2.0, which is a subset of XQuery 1.0.
LGPL
Macaque
[08-Oct-2012, version
0.6,
Beta]

Macaque (Macros for Caml Queries) is a DSL for OCaml, wich produce SQL requests from a comprehension syntax. Macaque can build queries by from simpler components, using phantom types used to ensure safety.
OCaml-MySQL
[21-May-2012, version
1.1.1,
Stable]

A package for Objective Caml that provides access to MySQL databases.
OCamlDBI
[01-Apr-2005, version
0.9.11,
Beta]
A database independent layer patterned upon Perl DBI.
OCamlODBC
[18-Jun-2007, version
2.15,
Stable]


Acces to databases through ODBC drivers.
OCI8 bindings
[09-Aug-2001, version
0.0.4,
Alpha]
OCI8 bindings for OCaml.
OraCaml
[07-Nov-2006, version
0.1,
Beta]

This library implements an OCaml client interface for an Oracle database. The library is built on top of the OCCI C++ interface available in Oracle 10g. It is efficient and suitable for processing large volumes of data.
PGOCaml
[14-Jan-2013, version
1.7.1,
Stable]
PG'OCaml is a type-safe, simple interface to PostgreSQL from OCaml. It lets you embed SQL statements directly into OCaml code.
GPL
BDBFS
[18-Dec-2002, version
0.3,
Beta]
BDBFS is a portable, user-level NFS fileserver implemented in OCaml. BDBFS stands for Berkeley DataBase File System: it stores files, metadata (directories, inodes, the superblock) as key:value pairs using the Berkeley Database (Berkeley DB) library.
OCaml MySQL Protocol
[19-Mar-2012, version
0.4,
Beta]

Implementation of MySQL Protocol with the Bitstring library.
OCMP
[26-Sep-2011, version
0.1,
Beta]
Implementation of MySQL Protocol with the Bitstring library.
Others
A Brief Introduction to PG'OCaml
[07-Sep-2007, version
0.92,
Beta]
PG'OCaml is rather lacking on the documentation front. This document aims to fill that gap, by providing an overview of the capabilities of the library, usage examples, and solutions to potential pitfalls. Moreover, it also addresses the installation of PG'OCaml, how to compile programmes that make use of the library, and the correspondence between PostgreSQL data types and their OCaml counterparts.
Another OCaml-sqlite3
[31-Jul-2006, version
0.1.7,
Beta]
OCaml wrapper for the Sqlite3 database library.
OCaml-FreeTDS
[19-Apr-2004, version
0.2]
OCaml-FreeTDS is a binding to the ct-lib component of the FreeTDS library, to access Sybase and Microsoft (or other TDS) database servers.
ocaml-orm-sqlite
[04-Jun-2009, version
0.2,
Beta]

The Sql_orm package provides an “Object-Relational Mapper” interface between a Sqlite3 database and OCaml.
OCamlBDB
[12-Nov-2002, version
0.0.1,
Alpha]
A Berkeley DB wrapper for OCaml.
ocamldap
[08-Oct-2012, version
2.2,
Stable]

LDAP bindings for ocaml.
OCamlDB
[09-Aug-2001, version
0.2,
Beta]
This is an early release of a DBMS driver for Objective Caml. There is a generic interface that must be instantiated with a so-called low level driver. Currently, there is only a driver for the Adabas DBMS.
OCI*ML
[04-Jul-2011,
Development code]

An Oracle binding for OCaml modeled on OraTcl.
Postgres
[09-Aug-2001, version
20040120,
Stable]

PostgreSQL bindings for OCaml.
Riakc
[20-Mar-2013, version
1.0.0,
Beta]
Protobufs Riak client in Ocaml.