Zoomdata Version

Connecting to MySQL

The MySQL connector allows users to visualize data stored in MySQL databases. The Zoomdata Server supports MySQL v5.6.13 and later.

To configure the connector, perform the following steps:

  1. Log into Zoomdata.
    Administrators and users with appropriate access privileges can connect data sources in Zoomdata.
  2. Click the Sources menu option.

Figure 1

  1. Click the MySQL connector icon.
  2. Specify the name of your source and add a description (if desired). Click Next .

Figure 2

  1. On the Connection page, select the connection source. You can select an existing connection, if available, or create a new one. To create a new connection, select the Input new credentials option button and specify the connection name and JDBC URL. The JDBC URL format for MySQL database being connected must be as follows: jdbc:mysql://MYSQLHOST:port/mydatabase .
    Specify the user name and password if your database requires authentication.
    Click Validate . The validated connection is saved. Click Next .

Figure 3

  1. On the Tables page, select the schema and data table to use for your charts. If you want to add a custom SQL query to retrieve the data, click Custom SQL .
  2. Toggle the caching options (SparkIt and Caching) as needed (by default, SparkIt is disabled; access the article How Zoomdata Caches the Data for more information). Click Next to continue.

Figure 4

  1. On the Fields page, you can create unique label names for the available fields in your data source. These labels will be displayed in the charts. Create unique label names, as needed, for each Label field. If necessary, change the Type and Default options, select the checkboxes in the Distinct Count column. Configure Filter Display settings for the required fields.

Figure 5

  1. On the Refresh page, you can schedule asynchronous jobs to refresh fields in your data source. Refer to Using the Zoomdata Scheduler article for more information.
  2. On the Charts page, you can:
    • Edit Global Default Settings
    • Select the Standard and, if available, Custom chart styles to be used with the data source
    • Set default parameters  (group-bys, colors, sorting, etc.) for each chart style
    Learn more about how to customize a chart .

Figure 6

  1. Click Finish to save your changes.