English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Connecting to Mysql using Ocaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-08-17 (21:19)
From: Dave Benjamin <dave@r...>
Subject: Re: [Caml-list] Connecting to Mysql using Ocaml
On Mon, 17 Aug 2009, tumenjargal tsagaan wrote:

> has someone with experience tell me how to access mysql database using
> ocaml?
> Any help would be appreciated.
> It would be great when posting a small snippet for connecting a mysql
> database and inserting something.

See the second half of this example (dbusers):

You can get the MySQL bindings here:

Or, if you're using Debian or Fedora, there should be a package available.

.. Dave Benjamin - Software Developer - Phoenix, Arizona
.. http://ramenlabs.com | http://twitter.com/ramenlabs