← All nodes
Output

MySQL Output

Writes the incoming rows into an existing MySQL table and passes the same rows on to the next node.

When to use it

Use it when a pipeline's result should be stored in a MySQL table, either added to what is there or swapped in for it on every run.

In a pipeline

Settings

SettingTypeRequiredDefault or hint
ConnectionselectYesAdd a connection below
Target TableselectYesSelect a table
Write Modeselect—append

Example

Append daily orders to the orders table

  • Target Table=orders
  • Write Mode=Append rows
Rows reaching the node
order_idcustomertotal
5001Acme Ltd240
5002Borne SA95
orders after the run
order_idcustomertotal
4999Corva Oy130
5001Acme Ltd240
5002Borne SA95

Append leaves the rows already in the table untouched and adds the new ones below them.

Worth knowing

  • Rows are sent as parameterised inserts in batches inside one transaction, so values with quotes or newlines are safe.
  • Replace deletes every row in the table first, in the same transaction, so keep a backup before using it on a shared table.
  • A preview never writes; run the pipeline to make the write happen.
  • The rows continue downstream unchanged, so an export node can be chained after this one.

Others in Output