add_data_dir

Add the path of a directory to be used as the location of the access method database files. Paths specified to the Db::open() function will be searched relative to this path. Paths set using this method are additive, and specifying more than one will result in each specified directory being searched for database files.

The syntax of this parameter in the DB_CONFIG file is a single line with the string add_data_dir, one or more whitespace characters, and the directory name.

For more information, see DbEnv::add_data_dir() .