MySQL
This page describes how to sync data to your MySQL database.
Getting Started
This guide will walk you through connecting to MySQL as a destination.
If you are trying to use MySQL as a data source (to query data from MySQL and sync to elsewhere), that process is documented separately here: MySQL Data Source
Visit the Destinations page and click + New Destination.
Select MySQL from the menu.
Enter the requested database credentials:
Hostname
Host name or IP address of database
Port
Port of database (3306 by default for MySQL)
Database Name
Name of database within MySQL to connect to
Username
Username Census will use to connect
Password
Password Census will use to connect
Number of Client Connections
Value between 1 and 8 (default is 1). This is the maximum number of concurrent connections Census will use to connect to database. The default should be fine in most cases, but increasing this value can increase throughput on very large syncs.
Use SSH Tunnel
SSH Hostname
Hostname of the Census accessible SSH Tunnel bastion.
SSH Port
Port of SSH Tunnel bastion.
SSH Username
Username Census will use to connect to bastion.
🔑 Permissions
To use MySQL as a destination, Census requires permission to write to the desired destination tables, as well as read metadata about the table and database structures.
Supported Objects and Behaviors
Object Name
Supported?
Sync Keys
Behaviors
Table
✅
Primary keys or columns with uniqueness constraints
Update or Create, Update Only
Contact us if you want Census to support more sync behaviors for MySQL.
Advanced Network Configuration
Census can successfully connect to MySQL instances that are using advanced networking controls including region constraints, IP address allow lists, or SSH Tunneling. For more information, see our Network Access Controls documentation.
Need help connecting to MySQL?
Contact us via support@getcensus.com or start a conversation with us via the in-app chat.
Last updated