How to Migrate from MySQL to Google BigQuery
Skippr is the easiest way to migrate from MySQL to BigQuery and get fully cleansed and modeled data in one run command.
Source: MySQL. Destination: BigQuery.
Sample config
yaml
skippr:
workspace: mysql_to_bigquery
pipelines:
mysql_to_bigquery:
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:
Bigquery:
project: my-gcp-project
dataset: raw_data
location: USEnvironment
bash
export GOOGLE_APPLICATION_CREDENTIALS="/path/to/service-account.json"Source connector: mysql. Destination connector: bigquery.
See Quick start.
