From: Dave Benjamin <dave@ramenlabs.com>
To: tumenjargal tsagaan <delgiika@yahoo.de>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Connecting to Mysql using Ocaml
Date: Mon, 17 Aug 2009 14:18:49 -0700 (MST) [thread overview]
Message-ID: <alpine.DEB.2.00.0908171416320.22721@spoomusic.com> (raw)
In-Reply-To: <493613.88575.qm@web28507.mail.ukl.yahoo.com>
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):
http://pleac.sourceforge.net/pleac_ocaml/dbaccess.html#AEN784
You can get the MySQL bindings here:
http://raevnos.pennmush.org/code/ocaml-mysql/
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
next prev parent reply other threads:[~2009-08-17 21:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-17 21:04 tumenjargal tsagaan
2009-08-17 21:18 ` Dave Benjamin [this message]
2009-08-17 21:31 ` [Caml-list] " Christophe TROESTLER
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.00.0908171416320.22721@spoomusic.com \
--to=dave@ramenlabs.com \
--cc=caml-list@yquem.inria.fr \
--cc=delgiika@yahoo.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox