The following connection option descriptions are listed alphabetically by the GUI name that appears on the driver Setup dialog box. The connection string attribute name, along with its short name, is listed immediately underneath the GUI name. For example:

Application Using Threads

Attribute

ApplicationUsingThreads (AUT)

In most cases, the GUI name and the attribute name are the same; however, some exceptions exist. If you need to look up an option by its connection string attribute name, please refer to the alphabetical table of connection string attribute names.

Also, a few connection string attributes, for example, Password, do not have equivalent options that appear on the GUI. They are in the list of descriptions alphabetically by their attribute names.

Note: The driver does not support specifying values for the same connection option multiple times in a connection string or DSN. If a value is specified using the same attribute multiple times or using both long and short attributes, the connection may fail or the driver may not behave as intended.

The following table lists the connection string attributes supported by the driver for MongoDB.

Table 1. MongoDB Attribute Names
Attribute (Short Name) Default
ApplicationUsingThreads (AUT) 1 (Enabled)
ConfigOptions (CO) Empty String
CreateDB (CDB)

2 (NotExist)

DataSourceName (DSN) None
Database (DB) INFORMATION_SCHEMA
Description (n/a) None
EncryptionMethod (EM) 0 (No Encryption)
FetchSize (FS) 100
HostName (HOST) None
HostNameInCertificate (HNIC) None
IANAAppCodePage (IACP) (UNIX and Linux only)

4 (ISO 8559-1 Latin-1)

InitializationString (IS) None
JVMArgs (JVMA) For the 32-bit driver when the SQL Engine Mode is set to 2 (Direct):

-Xmx256m

For all other configurations:

-Xmx1024m

JVMClasspath (JVMC) The default is an empty string, which means that the driver automatically detects the CLASSPATHs for all ODBC drivers installed on your machine and specifies them when launching the JVM.
KeyPassword (KP) None
Keystore (KS) None
KeystorePassword (KSP) None
LogConfigFile (LCF) None
LoginTimeout (LT) 15
LogonID (UID) None
MinLongVarcharSize (MINLVS) None
Password (PWD) None
PortNumber (PORT) 27017
ReadOnly (RO) 1 (Enabled)
ReadPreference (RP) primary
ReportCodepageConversionErrors (RCCE) 0 (Ignore Errors)
ResultMemorySize (RMS) -1
SchemaDefinition (SD)

For Windows:

application_data_folder\Local\Progress\DataDirect\MongoDB Schema\host_name.config

For UNIX/Linux:

~/progress/datadirect/mongodb_schema/hostname.config

ServerPortNumber (SPN) For the 32-bit driver:

19932

For the 64-bit driver:

19931

SQLEngineMode (SEM) For Windows:

0 (Auto)

For UNIX/Linux:

2 (Direct)

TransactionMode (TM) 0 (No Transactions)
Truststore (TS) None
TruststorePassword (TSP) None
ValidateServerCertificate (VSC) 1 (Enabled)
VarcharThreshold (VT) None