OdbcConnectionString

The ODBC connection string to use to connect to the database.

Micro Focus recommends encrypting any connection string that includes a user name or password, before entering it into a configuration file. Encrypt the entire parameter value (the entire connection string). For information about how to encrypt parameter values, refer to the Media Server Administration Guide.

Type: String (can be encrypted)
Default:  
Required: Yes
Configuration Section: TaskName
Example:

ODBCConnectionString=DSN=postgres;

You can specify a full connection string, without a DSN. For example, on Windows:

ODBCConnectionString=Driver={PostgreSQL Unicode(x64)};Servername=server;Port=5432;
Database=db;UserName=user;Password=pass;Protocol=7.4;ByteaAsLongVarBinary=1;

and on Linux:

ODBCConnectionString=DRIVER={PostgreSQL Unicode};Servername=server;Port=5432;
Database=db;UserName=user;Password=pass;Protocol=7.4;ByteaAsLongVarBinary=1;

NOTE: If you specify a driver in the connection string, there must be no white space around the equals sign (=) following the Driver parameter name.

The exact format of the connection string depends on your ODBC driver. For more information, refer to the ODBC driver documentation.

See Also: