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
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.