MicroStrategy ONE

Create Generic Data Sources with Connection Strings

Starting in MicroStrategy ONE Update 12, you can create generic data sources with Connection Strings. Creating generic data sources with Connection Strings mitigates a gap between the Workstation Data Source Editor and both the data import and Developer. You can create a data source using a driver that is not shipped with MicroStrategy. The following steps enables you to create generic data sources with Connection Strings in Workstation and Library.

Other Relational Sources

  1. In the Navigation pane, click , next to Data Sources.
  2. Choose Other Relational Sources.
  3. This option is visible to all users that have the INSERT PRIVILEGE NAME HERE privilege.

  4. Type a Name.
  5. Choose a Database Version from the drop-down.
  6. The list of database versions will contain all the versions supported by the Data Source Manager and the Generic DBMS that can be used for a database unknown to MicroStrategy.

  7. Select an existing database connection or create a default database connection.
  8. If you choose to create or edit a connection, the Create New Database Connection dialog appears. The dialog varies depending on the database version selected. See Create a Connection for a Non-supported Gateway or Create a Connection for a Supported Gateway for more information.

  9. Click Save.

Create a Connection for a Non-supported Gateway

If the database version you select does not belong to a gateway supported by the Data Source Manager or if you select Generic DBMS, then a generic Create New Database Connection dialog appears.

  1. Type a Name.
  2. Choose a Driver from the drop-down.
  3. Connection String displays a template depending on the selected driver. To fill in the Connection String, use your driver documentation. The Connection String should look similar to the following:
    • For ODBC drivers:
    • Copy
      DRIVER={driver name};
      enter the connection string from the driver documentation

    • For JDBC drivers:

    • Copy
      JDBC;
      DRIVER={driver name};
      URL={JDBC connection URL}

  4. Choose an Authentication Mode. The following Authentication Modes are supported:
    • Standard: Use for standard authentication where username and password are used.
    • Pre-configured: Use for authentication without passing additional login (for example, use this method for Kerberos, where authentication is already handled)
    • OAuth or OIDC Single Sign-On: Use for authentication that uses an authentication service. For this option, it is important to enter ?MSTR_OAUTH_TOKEN in the Connection String, as it will replace the OAuth token when connecting (for example, token=?MSTR_OAUTH_TOKEN;).
  5. If using Standard, enter a Default Database Login. If using OAuth or Single Sign-On, enter an Authentication Service.
  6. Click Save.

Create a Connection for a Supported Gateway

If the database version you select belongs to a gateway supported by the Data Source Manager, then the corresponding Create New Database Connection dialog appears.

  1. Type a Name.
  2. Choose a Driver from the drop-down and enter the required fields. If you want to enter a Connection String (for example, to choose a custom driver), choose Other.
  3. If you choose Other, enter a Connection String.
  4. Choose an Authentication Mode. The following Authentication Modes are supported:
    • Standard: Use for standard authentication where username and password are used.
    • Pre-configured: Use for authentication without passing additional login (for example, use this method for Kerberos, where authentication is already handled)
    • OAuth, Single Sign-On: Use for authentication that uses an authentication service. For this option, it is important to enter ?MSTR_OAUTH_TOKEN in the Connection String, as it will replace the OAuth token when connecting (for example, token=?MSTR_OAUTH_TOKEN;).
  5. If using Standard, enter a Default Database Login. If using OAuth or Single Sign-On, enter an Authentication Service.
  6. Click Save.

Data Source Monitor

The Data Source Monitor page displays generic data sources the same as supported data sources.

  1. In the Navigation pane, click Data Sources.
  2. Right-click a generic data source to open a context menu that is the same as other data sources:

    • Edit: Opens the data source dialog.

    • Properties: Opens the data source properties.

    • Delete: Removes the data source.