OdbcConnectionString

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

Type: String
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: OdbcDriverManager

_HP_HTML5_bannerTitle.htm