MySQL

Load event data into MySQL for widely adopted, high-performance relational database storage.

Configuration

FieldTypeRequiredDescription
hoststringYesThe MySQL server hostname.
portstringYesThe MySQL server port. Defaults to 3306.
databasestringYesThe target database name.
table_namestringYesThe target table name to insert rows into.
usernamestringYesThe database username for authentication.
passwordsecretYesThe database password for authentication.
use_tlsbooleanNoEnable TLS for the connection. Defaults to true.

Quick Setup

  1. Navigate to Integrations in the sidebar.
  2. Open the Integration Library tab.
  3. Find MySQL or filter by Cloud Storage.
  4. Click Install, select a variant if available, and fill in the required fields.
  5. Click Install Integration to create the integration with a ready-to-use default configuration.

API Setup

curl -X POST http://localhost:8084/v1/admin/integration-catalog/mysql/install \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "MySQL",
    "variant": "default",
    "config": {
      "host": "db.example.com",
      "port": "3306",
      "database": "analytics",
      "table_name": "events",
      "username": "datafly",
      "use_tls": true
    },
    "delivery_mode": "server_side"
  }'

Delivery

Events are delivered server-side from your Datafly Signal infrastructure directly to MySQL. No client-side scripts are loaded for this integration.

Visit MySQL documentation for full API documentation and credential setup instructions.