The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

mysqlbq - cli tool for App::BigQuery::Importer::MySQL

SYNOPSIS

    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