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
Reference to undefined global `Mysql'
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-09-21 (07:41)
From: Robert Wong <ocaml.wong@g...>
Subject: Reference to undefined global `Mysql'
I'm pretty new to ocaml, and I'm having trouble accessing my MySQL database
using it.

Here's a sample session, which shows that at least some of the ocaml-mysql
library is installed:

debian:$ ocaml
        Objective Caml version 3.09.2

# open Mysql;;
# connect defaults;;
Reference to undefined global `Mysql'

What would be the next step to debug this problem?

Thank you.