The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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)
        --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