Navigation

Connect from MicroStrategy Desktop

You can use MicroStrategy Desktop to analyze a MongoDB database through the MongoDB Connector for BI.

New in version 2.2.

Procedure

This tutorial is for version MicroStrategy Desktop version 10.11.

Prerequisites

1

Start MicroStrategy.

Start the MicroStrategy Desktop application by double-clicking on the application icon.

2

Select New Dossier from the File menu to create a new dossier.

3

Add new data.

  1. Click the New Data button in the Datasets panel.

  2. Click the Databases icon in the Data Sources window.

  3. Select Select Tables from the popup window and click Next.

    Screenshot of MicroStrategy import options
4

Add a data source.

  1. Click the plus icon next to the Data Sources text in the upper left corner of the window.

  2. Select the DSN Data Sources radio button.

  3. Select your DSN from the DSN dropdown menu.

  4. Select MongoDB BI Connector from the Version dropdown menu.

  5. Enter your mongosqld username and password.

    Note

    If you are running mongosqld without authentication enabled, you still need to enter something in the username and password fields. Any string will do.

  6. Give the data source a name.

    Screenshot of MicroStrategy DSN popup window
  7. Click OK.

  8. Click on your newly created data source in the Data Sources panel. Your MongoDB databases should appear in the center panel.

  9. Select the database you’d like to work with. The database’s collections should appear.

  10. Drag the collections you’d like to work with to the right side panel.

  11. Click the Finish button.

5

Build the visualization which suits your needs.

See the MicroStrategy documentation for more information about data visualizations.

6

Select a Data Access mode.

Select a data access mode that is appropriate for your situation.

Prerequisites

1

Start MicroStrategy.

Start the MicroStrategy Desktop application by double-clicking on the application icon.

2

Select New Dossier from the File menu to create a new dossier.

3

Add new data.

  1. Click the New Data button in the Datasets panel.

  2. Click the Databases icon in the Data Sources window.

  3. Select Select Tables from the popup window and click Next.

    Screenshot of MicroStrategy import options
4

Add a data source.

  1. Click the plus icon next to the Data Sources text in the upper left corner of the window.

  2. Check the checkbox marked “Show databases whose certified drivers were not found”.

  3. Select MySQL from the Databases dropdown menu.

  4. Click the Add driver link and navigate to the jdbc folder where your .jar files are stored. Select the MySQL .jar file.

  5. Enter your mongosqld host name and port number.

  6. Click the Show connection string link.

  7. Check the checkbox marked “Edit connection string”.

  8. Use the following connection string. Replace the placeholder values with the correct values.

    JDBC;DRIVER={com.mysql.jdbc.Driver};URL={jdbc:mysql://<hostname>:<port number>?useSSL=false&authenticationPlugins=org.mongodb.mongosql.auth.plugin.MongoSqlAuthenticationPlugin};MSTR_JDBC_JAR_FOLDER=<path-to-jar-files>;
    
  9. Enter your mongosqld username and password.

    Note

    If you are running mongosqld without authentication enabled, you still need to enter something in the username and password fields. Any string will do.

  10. Give the data source a name.

    Screenshot of MicroStrategy DSN popup window
  11. Click OK.

  12. Click on your newly created data source in the Data Sources panel. Your MongoDB databases should appear in the center panel.

  13. Select the database you’d like to work with. The database’s collections should appear.

  14. Drag the collections you’d like to work with to the right side panel.

  15. Click the Finish button.

6

Select a Data Access mode.

Select a data access mode that is appropriate for your situation.

7

Build the visualization which suits your needs.

See the MicroStrategy documentation for more information about data visualizations.