Skip to main content

Overview

Stigg’s integration with MySQL allows you to export your product catalog, customer, and subscription data directly to your MySQL database for custom reporting and analysis.
Stigg’s native data export integrations are included in the Scale plan, and are also available as an optional add-on to the Growth plan. See Stigg’s pricing for more details.

View the full entity schema

See every table and column exported to your destination, organized by entity group.

Setting up the integration

Prerequisites

You’ll need a MySQL instance with a database and a user that has permission to create tables and write data in the target schema. MySQL 8.0 and above is fully supported; MySQL 5.7 is supported on a best-effort basis. If your database is protected by security groups or other firewall settings, you’ll need Stigg’s static IP (shown in the connect form) to complete the first step below.
1

Allow access

Configure your firewall or security group to permit:
  • Incoming connections to your host and port (usually 3306) from Stigg’s static IP
  • Outgoing connections from ports 102465535 to that same IP
If your database isn’t accessible from the public internet, SSH tunneling through a bastion host is supported. Allow inbound SSH (port 22) from Stigg’s static egress IP on the bastion host, create an SSH user with Stigg’s public key in ~/.ssh/authorized_keys (contact Stigg support for the key), and grant the bastion host’s IP access to the database port in place of the static egress IP. Provide the bastion host address, port, and username in the connection form.
2

Create a writer user

Create the database user Stigg will connect as, and grant it the required privileges:
If you’re pre-creating the schema rather than letting Stigg create it on first sync, grant privileges on that schema only instead:
Avoid special characters (@, [, ], /, ?, #, ", \, +, spaces, &, :, %) in the username and password — they can break connection string parsing.
3

Connect Stigg with MySQL

In Stigg, navigate to Integrations > Apps > MySQL.Enter the following information in the connection form:Click Test & connect.
4

Select entities to export

After entering your connection details, expand the Entities to export section to choose which entity groups to include in the sync. All groups are selected by default.See Exported entities for a description of each group.