MySQL as Target
Fivetran HVR supports integrating changes into MySQL location (including Amazon RDS for MySQL). This section describes the configuration requirements for integrating changes (using Integrate and Refresh) into MySQL location. For the list of supported MySQL database versions into which HVR can integrate changes, see Integrate changes into location in Capabilities.
- By default, HVR writes data into MySQL using Continuous Integrate and Row-wise Refresh. HVR uses MariaDB's native Connector/C interface to write data into MySQL during Continuous Integrate and Row-wise Refresh.
- You can also use Burst Integrate and Bulk Refresh for writing data into MySQL. However, it is required to create staging files on a temporary location to perform Burst Integrate and Bulk Refresh. For more information about staging, see section Staging for MySQL.
In MySQL bi-directional channel, Bulk Refresh may result in looping truncates on either side of the bi-directional channel. For a workaround, see section MySQL Bi-directional Replication.
Grants for Integrate and Refresh
This section lists the grants required for integrating changes into MySQL.
The HVR database User must be granted the
select
,insert
,update
, anddelete
privileges to read and change replicated tables.grant select, insert, update, delete on tbl to username
The HVR database User must be granted permission to create and drop the HVR state tables.