The [ODBC.INI] section of the Registry contains Data Source Names (DSNs) and driver configuration parameters. DSNs are descriptive names for database sources that application users may see. Your installation program can create these entries automatically.

The MongoDB driver entry in the Registry might contain:

[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\MongoDB]
Driver: REG_SZ: C:\PROGRAM FILES\YOURCO\DRIVERS\CDMongonn.DLL
Description: REG_SZ: Sample MongoDB configuration
ApplicationUsingThreads: REG_SZ: 1
ConfigOptions: REG_SZ: 
FetchSize: REG_SZ: 100
JVMARgs: Xmx256m
JVMClasspath:
LockTimeOut: REG_SZ: -1
LoginTimeOut: REG_SZ: 15
PortNumber: 27017
ReadOnly: REG_SZ: 0
SchemaDefinition: <schema_definition_path>_/<file_name_prefix>.config
ServerPortNumber: REG_SZ: 19929
      

Only the Driver: REG_SZ setting is required for the DSN to operate. Your installation program can add any additional configuration parameters required by your application. You can also require your users to create these additional entries themselves using the ODBC Administrator.

Note: [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\MongoDB] is a system DSN. User DSNs are created in [HKEY_CURRENT_USER\SOFTWARE\ODBC\ODBC.INI\MongoDB]. Refer to your product's user's guide for more information about DSNs.