Skip to main content

Create MySQL Destination

The MySQL Destination Connector allows you to load data from a pipeline into a MySQL Table.

Before creating a destination connector:

  1. Setup - Setup your MySQL instance and acquire the credentials needed to talk to Meroxa.
  2. Add Resource - Add a MySQL resource to your Meroxa Resource.


The input of MySQL is a table name.

Creating Connector#

Then, to configure MySQL as a destination:

Using the CLI, you can run the following command to add a new destination to a pipeline:

meroxa connector create to-mysql-connector \ --to my-mysql \ --input $STREAM_NAME \ --pipeline my-pipeline

The command above creates a new destination connector called to-mysql-connector, sets the destination to a resource named my-mysql, and configures the input with a stream.