Manage the MemSQL Connector

The Composer MemSQL connector lets you access the data available in MemSQL databases using the Composer client. The Composer MemSQL connector supports MemSQL versions 6.0 - 6.7.

Before you can establish a connection from Composer to MemSQL storage, a connector server needs to be installed and configured. See Manage Connectors and Connector Servers for general instructions and Connect to MemSQL for details specific to the MemSQL 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 Data Source Configurations for more information. After data sources are configured, they can be used to create dashboards and visuals from your data. See Create Dashboards.

Composer Feature Support

MemSQL connector 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 P
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 N/A
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

Connect to MemSQL

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

  1. Download and install the 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 MemSQL properties file and change the driver path and class name properties, as shown below and as described in Add 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 Add a JDBC Driver.