mysqlbq - cli tool for App::BigQuery::Importer::MySQL
mysqlbq - command description Usage: command [options] Options: --db_host MySQL Hostname or IP addr(ex: localhost) --src MySQL Schema and Table name(ex: schema_name.table_name) --dst BigQuery Dataset and Table name(ex: dataset_name.table_name) --allow_text_type Import MySQL TEXT type columns to BigQuery as STRING type --dryrun dry run mode. not run the side-effects operation.(ex: gsutil mk/rm, bq load/rm) -h(--help) show this help Requirement Programs: mysql cli and gcloud package Requirement Files: this script needs ~/.my.cnf and ~/.bigqueryrc files ~/.my.cnf: [client] user = user password = pass ~/.bigqueryrc: project_id = pj_id credential_file = /path/to/credential.json
To install App::BigQuery::Importer::MySQL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::BigQuery::Importer::MySQL
CPAN shell
perl -MCPAN -e shell install App::BigQuery::Importer::MySQL
For more information on module installation, please visit the detailed CPAN module installation guide.