How to Migrate from MySQL to PostgreSQL
Skippr is the easiest way to migrate from MySQL to PostgreSQL and get fully cleansed and modeled data in one run command.
Source: MySQL. Destination: PostgreSQL.
Sample config
yaml
skippr:
workspace: mysql_to_postgres
pipelines:
mysql_to_postgres:
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:
Postgres:
host: localhost
port: 5432
user: ${POSTGRES_USER}
password: ${POSTGRES_PASSWORD}
database: analytics
schema: publicEnvironment
bash
export POSTGRES_HOST="localhost"
export POSTGRES_USER="myuser"
export POSTGRES_PASSWORD="mypassword"Source connector: mysql. Destination connector: postgres-warehouse.
See Quick start.
