MySQL database.

Changelog

10 versions
v3.0.0 Latest
  • Breaking change: replaced the unmaintained mysql driver with mysql2. Adds support for the caching_sha2_password authentication (the default on MySQL 8.x; MySQL 8.4 disables mysql_native_password by default and MySQL 9 removes it).
  • Added optional SSL/TLS settings to the connection form: Use SSL (encrypted, server certificate not verified) and CA Certificate (encrypted, server certificate verified against the CA). Existing accounts without these fields connect without SSL as before.
  • All components and the connection check now share one set of connection options. Query now returns DATE/DATETIME/TIMESTAMP values as strings as returned by MySQL (e.g. '2024-05-01 10:00:00') instead of ISO dates converted to UTC, and BIGINT values outside the safe integer range as strings instead of rounded numbers, the same way the triggers already did.
  • Value differences of the new driver: ZEROFILL integer columns are returned as numbers (leading zeros are lost; the old driver returned a string). DECIMAL values are always returned as numbers; in triggers, DECIMAL values outside the safe integer range were strings before and are now rounded numbers. JSON columns are still returned as strings, BIT columns as binary data, TIME as strings.
  • An invalid Port value (not a number) is now rejected with a clear error.
  • Triggers: the Storage input is a text field with suggestions, so a data store ID can be entered when the list cannot be loaded.
v2.1.0
  • Added test() (Flow Test Mode) to all triggers: NewRow, UpdatedRow, DeletedRow, WatchRows.
v2.0.3
  • Added output examples to component schemas.
v2.0.2
  • UpdatedRow: declare detectOnStop in properties.schema.properties so the inspector input reaches the trigger.
v2.0.1
  • Reduced icon size for better performance.
v2.0.0
  • Breaking change: Improve security by restricting all SQL queries to SELECT/WITH statements only and implementing parameterized queries.
v1.0.3
  • Add catch and log errors while processing individual rows
v1.0.2
  • Fix Query component output
v1.0.1
  • Fix ListTables component
  • Fix Query component
v1.0.0
  • Initial version

Authentication

TypeDetails
API Key
User (text)
Database User
Host (text)
Database Host
Port (text)
Database Port
Database (text)
Name of your database
Password (password)
Password
Use SSL (select)
Optional. Select Yes to encrypt the connection with SSL/TLS (required when the server or the user requires a secure transport). Without a CA certificate the server certificate is not verified. Default: No.
CA Certificate (textarea)
Optional. Paste the PEM content of the CA certificate (-----BEGIN CERTIFICATE----- ...) that signed the server certificate. When filled, the connection uses SSL and the server certificate is verified against this CA.

Triggers

4
Deleted Row icon

Deleted Row

Watch for deleted rows in your MySQL database.
New Row icon

New Row

Watch for new rows in your MySQL database.
Updated Row icon

Updated Row

Watch for updated rows in your MySQL database.
Watch Rows icon

Watch Rows

Watch for new and updated rows in your MySQL database for an arbitrary query.

Actions

2
List Tables icon

List Tables

List all non-system tables in your MySQL database.
Query icon

Query

Query your MySQL database.