Chapter 6. Post Install Configuration

Table of Contents
MDBPATH
ODBC

There are a couple of things that can be configured in the package.

MDBPATH

If you store your MDB files together in directories you can use the MDBPATH environment variable to have MDB Tools search the path similiar to PATH, MANPATH, LD_LIBRARY_PATH (or LIBPATH), etc... Like those, the : (colon) is used as a separator.

If you run sh, ksh, or bash

$ MDBPATH=/home/myuser/mdbfiles:/data/mdbfiles ; export MDBPATH 
If you run csh or tcsh
$ setenv MDBPATH /home/myuser/mdbfiles:/data/mdbfiles 
This will cause MDB Tools to first attempt to open the file using the filename or path provided (current directory or absolute path), then to walk through each entry in the MDBPATH file looking for it. It will stop at the first match.

The MDBPATH variable affects all utilities and any program calling mdb_open().