☝️Small business or a startup? See if you qualify for our special offer.
+
All documentation
  • Introduction
  • Connecting to data source
    1. Supported data sources
    2. Connecting to other data sources
  • Browser compatibility
  • Documentation for older versions
  • Approaches for connecting to SQL databases

    Flexmonster can be connected to a relational database using various approaches:

    • Flexmonster Data Server (recommended)
    • Converting data to JSON or CSV
    • Custom data source API

    Learn about each of them:

    The Data Server

    Flexmonster Data Server is a server-side solution developed by Flexmonster. The Data Server fetches your data from a database, aggregates the data, and then passes it to Flexmonster Pivot in a ready-to-show format.

    This approach is recommended for the majority of situations and has the following advantages:

    • Ready-to-use solution. The Data Server allows connecting to databases out of the box.
    • Saves browser resources. All manipulations with data are performed by the server, resulting in faster data visualization and more efficient use of the browser's resources.
    • Optimized data loading. Using the Data Server, you can load data from a database in small subsets. This allows you to work with the data you need and reduce the number of data manipulations on the server.
    • Built-in security and authorization. The Data Server provides a convenient way of managing security and establishing authorized access to data.
    • Cross-platform support. Flexmonster Data Server is available for Windows (32-bit and 64-bit), macOS (64-bit and ARM64), and Ubuntu/Linux (64-bit and ARM64).
    • Suitable for different use cases. Flexmonster Data Server can be used as a Windows/Unix service, as a DLL, or as a console application. Each usage type provides unique features that are useful in different scenarios.

    The Data Server might not suit you in the following cases:

    • Your server is limited in RAM size. The Data Server stores all the data in RAM. Depending on your queries, the data can take up to 200%–300% of its original size.
    • You want database queries to be affected by the user's input. You need to predefine database queries that the Data Server will use to fetch data. This means that the queries cannot be changed based on the user's input.

    Converting data to JSON or CSV

    Custom data source API

    Supported databases

    Guides in this section will be focused on using the Data Server approach. It supports the following databases:

    To connect to MongoDB, use Flexmonster MongoDB Connector. If you are using other NoSQL databases or data warehouses, choose the server-side script or the custom data source API approach.