Table of Contents

Search

  1. Preface
  2. Data Replication Overview
  3. Understanding Data Replication
  4. Sources - Preparation and Replication Considerations
  5. Targets - Preparation and Replication Considerations
  6. Starting the Server Manager
  7. Getting Started with the Data Replication Console
  8. Defining and Managing Server Manager Main Servers and Subservers
  9. Creating and Managing User Accounts
  10. Creating and Managing Connections
  11. Creating Replication Configurations
  12. Materializing Targets with InitialSync
  13. Scheduling and Running Replication Tasks
  14. Implementing Advanced Replication Topologies
  15. Monitoring Data Replication
  16. Managing Replication Configurations
  17. Handling Replication Environment Changes and Failures
  18. Troubleshooting
  19. Data Replication Files and Subdirectories
  20. Data Replication Runtime Parameters
  21. Command Line Parameters for Data Replication Components
  22. Updating Configurations in the Replication Configuration CLI
  23. DDL Statements for Manually Creating Recovery Tables
  24. Sample Scripts for Enabling or Disabling SQL Server Change Data Capture
  25. Glossary

Preparing MySQL Target Systems

Preparing MySQL Target Systems

After you install Informatica Data Replication on a MySQL target system, you must complete several tasks to prepare the system for data replication.
  1. For Windows systems, download and install the ODBC driver for MySQL. For Linux systems, use the DataDirect ODBC driver for MySQL that Data Replication provides in the
    DataReplication_installation
    /dd/lib subdirectory.
  2. Define the ODBCSYSINI environment variable in the user profile:
    ODBCSYSINI=$DBSYNC_HOME/dd
    Define the DBSYNC_HOME environment variable to point to the Data Replication installation root directory if you have not done so.
  3. On Linux and UNIX, add the ODBCSYSINI library in the library path environment variable for your operating system to define search paths for the dynamic linker.
    The library path environment variables are:
    • LD_LIBRARY_PATH for Linux systems
    • LD_LIBRARY_PATH_64 for Solaris systems
    • LIBPATH for AIX systems
    • SHLIB_PATH for HP-UX systems
  4. Use the following statement to set and export the ODBCINST environment variable, which specifies the path and file name of the ODBC .ini file:
    EXPORT ODBCINST=$ODBCSYSINI/odbcinst.ini
    The odbcinst.ini system file contains information about the ODBC drivers that are available to all users.
  5. Create a database user for Data Replication. For example, use the name datarep_user.
    CREATE USER '
    datarep_user
    '@'
    host_name
    ' identified by '
    password
    ';
  6. Grant the following role and privileges to the datarep_user.
    GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, LOCK TABLES ON
    database_name
    .* TO '
    datarep_user
    '@'
    host_name
    ';

0 COMMENTS

We’d like to hear from you!