MySQL Analytics & Reporting - AgenticBI Integration

AgenticBI enables data discovery, query, aggregation, visualization and reporting automation from MySQL along with other unstructured and structured datasources.

Overview

  1. Connect, extract and transform data from your MySQL database through our UI to connect directly.

  2. Visualize and Automate your Reporting instantly.

UI Based Approach

Connecting

  1. Log in to AgenticBI and select Queries from the left sidebar.

  2. Click on New Datasource + button and select MySQL from the list of datasources.

  3. After navigating to the New Datasource page, either use the pre-configured settings into AgenticBI's own demo MySQL database or follow the prompts and configure the following details to set up connectivity to your own MySQL database:

    a. Datasource Name: Enter a name for your datasource
    b. Host Name: Enter the host name to connect to
    c. Port: Enter the database port
    d. Database Name: Enter database name
    e. User ID: Enter the User ID to connect
    f. Password: Enter the password to connect to the database
    g. Database Properties: Additional database connection properties. For example, for zero dates in your database that you would like to treat as null, use zeroDateTimeBehavior=convertToNull

  4. Establish Network connectivity and click on the Test Connection button.

    Note: The connection validity of the network can be tested only if it has been established via Direct Connectivity or an SSH tunnel. For more information on connectivity and datasource, please refer to the documentation on- Connectivity & Datasources.

  5. Click on Save and start Querying.

MySQL Connect

Query

Note: Datetime timestamp fields without a time zone (e.g., MySQL DATETIME type) are supported.

Set up Query using a visual builder or query editor

Visual Builder

After connecting to the MySQL datasource, AgenticBI will pull out a list of tables along with field samples.

Step 1: Generate queries through our visual builder in a no-code environment by either dragging and dropping fields or making your selections through the drop-down.

Query MysqlDB

Step 2: Define data execution strategy by using any of the following two options:

Direct Execution: Directly execute the Query on the original MySQL datasource, without any storage in between. In this case, when a widget is displayed, it will fetch the data in real time from the underlying Datasource.

Non-Direct Execution: For non-direct queries, results will be stored in AgenticBI's Elastic Store. Benefits include- long-running queries, reduced load on your database, and more. Non-direct execution can be put into action if you choose to run the Query once or at scheduled intervals.

For more information, please refer to this documentation- Defining Data Execution Strategy

Data Strategy MysqlDB

Step 3: Click on Preview to review the results and fine-tune the desired output, if required. The result of your Query is called Dataset.

Preview Results

Step 4: After reviewing the results, name your dataset and then hit the Create & Run button

Create and Run

Query Editor

A versatile text editor designed for editing code that comes with a number of language modes including MySQL Query Language (MQL) and add-ons like Cloud9QL.

Create and Run

Step 1: Write your query using MySQL (MQL) in the Query Editor. Optionally, apply Cloud9QL on top for additional transformations.

Step 2: Define data execution strategy by using any of the following two options:

Direct Execution: Directly execute the Query on the original MySQL datasource, without any storage in between. In this case, when a widget is displayed, it will fetch the data in real time from the underlying Datasource.

Non-Direct Execution: For non-direct queries, results will be stored in AgenticBI's Elastic Store. Benefits include- long-running queries, reduced load on your database, and more. Non-direct execution can be put into action if you choose to run the Query once or at scheduled intervals.

For more information, please refer to this documentation- Defining Data Execution Strategy

Data Strategy MysqlDB

Step 3: Click on the Preview button to analyze the results of your Query and fine-tune the desired output, if required.

Data Strategy MysqlDB