Managing the MySQL Connector

The Composer MySQL connector lets you access the data available in MySQL databases using the Composer client. The Composer MySQL connector supports MySQL version 5.6.

Before you can establish a connection from Composer to MySQL storage, a connector server needs to be installed and configured. See Managing Connectors and Connector Servers for general instructions and Connecting to MySQL for details specific to the MySQL connector.

After the connector has been set up, you can create data source configurations that specify the necessary connection information and identify the data you want to use. See Manage Composer v6 Data Source Configurations for more information. After data sources are configured, they can be used to create dashboards and visuals from your data. See Creating Dashboards.

Composer Feature Support

MySQL support for specific Composer features is shown in the following table.

Key: P - Supported; O - Not Supported; N/A - not applicable

Feature Supported?
Admin-Defined Functions P
Box Plots O
Custom SQL Queries P
Derived Fields (Row-Level Expressions) P
Distinct Counts P
Fast Distinct Values N/A
Group By Multiple Fields P
Group By Time P
Group By UNIX Time P
Histogram Floating Point Values P
Histograms P
Kerberos Authentication O
Last Value P
Live Mode and Playback P
Multivalued Fields N/A
Nested Fields N/A
Partitions O
Pushdown Joins for Fusion Data Sources P
Schemas P
Text Search N/A
TLS P
User Delegation O
Wild Card Filters P
Wild Card Filters, Case-Insensitive Mode P
Wild Card Filters, Case-Sensitive Mode O

Connecting to MySQL

The MySQL connector requires a JDBC driver to be configured before you can connect to your data source.

  1. Download and install the version latest JDBC driver from https://dev.mysql.com/downloads/connector/j/. Instructions are provided on that web site.

  2. After installing the driver, edit the MySQL properties file and change the driver path and class name properties, as shown below and as described in Adding a JDBC Driver:

    datasource.driver-config.class-name=com.mysql.cj.jdbc.Driver
    datasource.driver-config.jar-path=<JDBC_driver_filepath>
    
  3. Save the properties file and restart the connector. See Adding a JDBC Driver.