Docs Menu
Docs Home
/
BI Connector

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.

This tutorial is for version MicroStrategy Desktop version 10.11.

1

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

2
3
  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
  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

See the MicroStrategy documentation for more information about data visualizations.

6

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

  • Download the MongoDB Authentication Plugin for JDBC. Save the .jar file in a folder called jdbc.

  • Download the MySQL Connector/J plugin. Save the .jar file in your jdbc folder.

  • Make sure you have a running mongosqld instance. For instructions on starting and running mongosqld, see Launch BI Connector.

    Important

    Use the 5.x version of Connector/J. The 8.x version is not compatible.

1

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

2
3
  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
  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.

5

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

6

See the MicroStrategy documentation for more information about data visualizations.