set_create_dir

Sets the path of a directory to be used as the location to create the access method database files.

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

For example:

set_create_dir /b/data2
Sets data2 as the location to create the access method database files. When the Db::open() function is used to create a file, it will be created relative to this path.

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