Watch the 7.3 Webinar On-Demand
This new release brings updates to Universal Storage, query optimization, and usability that you won’t want to miss.

Connecting Qlik Replicate and SingleStore

Qlik Replicate allows its users to “accelerate data replication, ingestion and streaming across a wide variety of heterogeneous databases, data warehouses, and Big Data platforms”. This document provides a brief overview of integrating Qlik Replicate with SingleStore. For purposes of illustration, MySQL is used as a source database, and SingleStore (SingleStore Managed Service or SingleStore DB) is the target for replication. For detailed instructions on how to configure Qlik Replicate for your particular use case, please refer to the user guide provided by Qlik or visit their online help center. Note that SingleStore can be used as a target database but not as a source.

The certification matrix below shows the latest versions of the database, driver, and connector verified to work together in a replication task:

Product Versions
SingleStore DB 7.1 and newer
mysql-connector-odbc 5.3.11-1.el7
unixODBC 2.3.1-14.el7

Using Qlik Replicate

  1. Download and install Qlik Replicate Software. (e.g. sudo rpm -i areplicate-6.6.0-488.x86_64.rpm)

  2. Enable Web UI access. To enable access to the Web UI, run ./repctl SETSERVERPASSWORD <your_password>. Make sure to follow the requirements for the password described here.

  3. Make sure your environment satisfies the prerequisites for the Source Endpoint (MySQL in our example). MySQL prerequisites can be found here. For our example, the following commands were used to download and install the necessary software:

    • wget https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.32-1.el7.x86_64.rpm-bundle.tar
    • sudo yum install -y mysql-community*5.7.32*
    • sudo yum -y install https://dev.mysql.com/get/Downloads/Connector-ODBC/5.3/mysql-connector-odbc-5.3.11-1.el7.x86_64.rpm
    • sudo yum install unixODBC
  4. Make sure your environment satisfies the prerequisites for the Target Endpoint (SingleStore in our example). SingleStore prerequisites are the same as MySQL, and can be found here.

  5. Check the corresponding section of the Qlik Replicate user guide to find out what additional configuration steps are needed and what limitations exist for a particular data source and target.

  6. You should be able to open a Qlik Replicate Web Console as described here.

  7. You can add a replication task as described here.

    Note that if you are using a SingleStore Managed Service cluster as the target, you will need to specify the database access credentials (host, port, user, database) available via the SingleStore Customer Portal.

    In the Portal, the host is the Endpoint, the port is 3306, the user/password is the “admin” user you were prompted for when you created the cluster. The database name is the database you are using. ​

  8. Now you can run the task as described here.