How to Migrate from MySQL to Amazon Redshift
Skippr is the easiest way to migrate from MySQL to Redshift and get fully cleansed and modeled data in one run command.
Source: MySQL. Destination: Redshift.
Sample config
yaml
skippr:
workspace: mysql_to_redshift
pipelines:
mysql_to_redshift:
data_source: data_sources.source
data_sink: data_sinks.warehouse
data_sources:
source:
Mysql:
connection_string: "mysql://user:pass@host:3306/db"
data_sinks:
warehouse:
Redshift:
database: analytics
cluster_identifier: my-cluster
db_user: admin
schema: public
region: us-east-1Environment
bash
export AWS_ACCESS_KEY_ID="your-key"
export AWS_SECRET_ACCESS_KEY="your-secret"
export REDSHIFT_CLUSTER_IDENTIFIER="my-cluster"
export REDSHIFT_DB_USER="admin"
export REDSHIFT_DATABASE="analytics"Source connector: mysql. Destination connector: redshift-warehouse.
See Quick start.
