Before you begin
- MySQL 8.x or later. If you use an older version, contact support@datafold.com.
- A MySQL admin user that can create users and databases and grant privileges.
- The hostname and port of your MySQL instance.
- Permission to add data connections in Datafold.
datafold_user. You can choose another name. Replace <PASSWORD> and <DATABASE> with your values. In MySQL, a database and a schema are the same thing.
Set up MySQL
1
Create a user
2
Grant access to your data
Run this grant for each database in scope:
3
Create a temporary database
Datafold writes scratch tables to this database so that data processing stays in your database server.
Network access
If your MySQL instance only accepts connections from allowlisted IP addresses or is only reachable over a private network, see Securing connections for the options Datafold supports.Add the connection in Datafold
Go to Settings → Integrations → Data Connections, click Add new integration and choose MySQL.
Click Save.
