This string includes the options used to connect using no authentication.
Note: The strings demonstrated in this section use the DSN-less format. For additional formats, see Using a connection string.
DRIVER=DataDirect 8.1 MongoDB;AuthenticationMethod=None;DatabaseName=database;
  HostName=hostname;PortNumber=port;[attribute=value[;...]];

where:

database
(optional) specifies the name of the database to which you want to connect. This value is used as the default qualifier for unqualified table names in SQL queries.
Note: This value is case-insensitive if you have access privileges to query the list of databases on the server. If you do not have access, this value is case-sensitive.
hostname
the name or the IP address of the server to which you want to connect. For example, myserver.
port

(optional) specifies the port number of the server listener. The default is 27017.

attribute=value
specifies connection option settings. Multiple option attributes are separated by a semi-colon.

The following example connection string includes the options required for connecting with no authentication:

DRIVER=DataDirect 8.1 MongoDB;AuthenticationDatabase=mydb2;DatabaseName=mydb;
       HostName=myserver;PortNumber=27017;User=jsmith;Password=secret;