Requirements for MySQL source databases
The requirements for MySQL source databases are only for the staging pull ingestion method. This ingestion method allows Delphix Continuous Data Engine to perform the operations required to prepare the data content in the staging environment using the binary log file position-based replication (binlog replication). The source database requirements are the same for both replication with Delphix-initiated backups and replication with externally-initiated backups provided by the user, and are as follows:
Requirements | Explanation |
---|---|
Connectivity to the source database from the staging database for replication | The connector should be able to connect to the source environment’s database from the staging environment and take a backup of the source database(s) using the |
Source DB user: A Source DB user can connect to the source database both from the staging host and locally. A Source DB user must be granted the following permissions in the source database: SELECT, SHUTDOWN, SUPER, RELOAD, SHOW VIEW, EVENT, TRIGGER, REPLICATION CLIENT, REPLICATION SLAVE | You are responsible for performing a logical backup of the source database with the
CODE
CODE
In addition, you have the ability to grant more permissive privileges; however this is not mandatory.
CODE
Remember that this is the user that Delphix Continuous Data Engine uses to manage the staging database. As a result, it is recommended that you create a dedicated source db user for Delphix Continuous Data Engine with the privileges described here. |
Binary logging should have been enabled on the source database. | Binary logging on the source database must be enabled in order to set up replication. You can check the status of binary logging as follows:
CODE
If binary logging is enabled, the following status should be displayed:
CODE
|
The source database must have a non-zero server-id. | The source database must have a non-zero server-id, and the server-id value must be different from the source's server-id value. This is required in order for replication between the source and staging databases to be enabled. Server-id can be checked in |