In order to create an ODBC DSN in Strategy Intelligence Server Universal, it is possible to use the utility mstrconnectwiz. When this utility is run with no arguments, it launches a graphical application for creating and managing DSNs. However, when adding some arguments, as indicated in this document, the same utility can be used to create and manage DSNs when a graphical user interface is not available.
In Strategy 2021, DSNs can be created with TLS enabled. For more usage details, please refer to KB484551.
Oracle Wire Protocol
mstrconnectwiz ORCLW DataSourceName HostName (SID | -sname:ServiceName) PortNumber
mstrconnectwiz DB2 DataSourceName HostName DatabaseName PortNumber
mstrconnectwiz GREENPLUM DataSourceName HostName DatabaseName PortNumber
mstrconnectwiz INFX9 DataSourceName ServerName HostName PortNumber DatabaseName
mstrconnectwiz SYBASE DataSourceName NetworkAddrss,PortNumber DatabaseName Unicode
mstrconnectwiz SQLSERVER DataSourceName HostName PortNumber DatabaseName
mstrconnectwiz DB2ISERIES DataSourceName IpAddress Collection Location IsolationLevel PackageOwner PortNumber
mstrconnectwiz DB2ZOS DataSourceName IpAddress Collection Location PackageCollection PackageOwner PortNumber
mstrconnectwiz MYSQL_CONNECTOR DataSourceName HostName PortNumber DatabaseName -u:uid
mstrconnectwiz POSTGRESQL DataSourceName HostName PortNumber DatabaseName -u:uid
mstrconnectwiz SALESFORCE DataSourceName HostName -u:uid -p:pwd
-rreplaces a DSN if the DSN already exists.
-u:uidprovides the logonID to perform a test connection.
-p:pwdprovides the password to perform a test connection.
mstrconnectwizallows you to specify a
<blank>parameter by using the special character
^for optional parameters.
Example 1: Creating a normal DSN.
mstrconnectwiz SQLSERVER AnyName TS_SPHINX 1433 DevProject
mstrconnectwiz -r SQLSERVER AnyName TS_SPHINX 1433 ProdProject
mstrconnectwiz SQLSERVER AnyName TS_SPHINX 1433 ProdProject -u:admin -p:pwd
mstrconnectwiz DB2ISERIES AnyName 10.10.25.235 TUTORIAL AS400 NO_COMMIT ^ 446
mstrconnectwiz MYSQL_CONNECTOR AnyName 10.10.25.50 3306 MYSQL_SCHEMA_NAME /usr/lib64/libmyodbc5w.so -u:mstr -p:pwd/pre>