2
<!--Copyright 1997-2002 by Sleepycat Software, Inc.-->
3
<!--All rights reserved.-->
4
<!--See the file LICENSE for redistribution information.-->
7
<title>Berkeley DB Reference Guide: Environment variables</title>
8
<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit.">
9
<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++">
12
<a name="2"><!--meow--></a>
13
<table width="100%"><tr valign=top>
14
<td><h3><dl><dt>Berkeley DB Reference Guide:<dd>Programmer Notes</dl></h3></td>
15
<td align=right><a href="../../ref/program/errorret.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../reftoc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/program/mt.html"><img src="../../images/next.gif" alt="Next"></a>
18
<h1 align=center>Environment variables</h1>
19
<p>The Berkeley DB library uses the following environment variables:
21
<p><dt>DB_HOME<dd>If the environment variable DB_HOME is set, it is used as part of
22
<a href="../../ref/env/naming.html">File Naming</a>.
23
Note: For the DB_HOME variable to take effect, either the
24
<a href="../../api_c/env_open.html#DB_USE_ENVIRON">DB_USE_ENVIRON</a> or <a href="../../api_c/env_open.html#DB_USE_ENVIRON_ROOT">DB_USE_ENVIRON_ROOT</a> flags must be
25
specified to <a href="../../api_c/env_open.html">DB_ENV->open</a>.
26
<p><dt>TMPDIR, TEMP, TMP, TempFolder<dd>The TMPDIR, TEMP, TMP, and TempFolder environment variables are all
27
checked as locations in which to create temporary files. See
28
<a href="../../api_c/env_set_tmp_dir.html">DB_ENV->set_tmp_dir</a> for more information.
30
<table width="100%"><tr><td><br></td><td align=right><a href="../../ref/program/errorret.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../reftoc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/program/mt.html"><img src="../../images/next.gif" alt="Next"></a>
32
<p><font size=1><a href="http://www.sleepycat.com">Copyright Sleepycat Software</a></font>