Skip to content

kaorimatz/mysqldump-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9bc2563 · May 7, 2020

History

30 Commits
Jun 4, 2018
Apr 29, 2020
Jun 6, 2018
Oct 23, 2018
Oct 23, 2018
Jun 11, 2018
Apr 29, 2020
Apr 29, 2020
May 7, 2020
Jun 11, 2018
Jun 11, 2018

Repository files navigation

mysqldump-loader

Load a MySQL dump file using LOAD DATA INFILE.

Usage

./mysqldump-loader

Flags

$ ./mysqldump-loader --help
Usage of ./mysqldump-loader:
  -concurrency int
        Maximum number of concurrent load operations. (default Number of available CPUs)
  -data-source-name string
        Data source name for MySQL server to load data into.
  -dump-file string
        MySQL dump file to load.
  -low-priority
        Use LOW_PRIORITY when loading data.
  -mysql-variable value
        MySQL variable (format: <name>=<value>)
  -replace-table
        Load data into a temporary table and replace the old table with it once load is complete.
  -verbose
        Verbose mode.

Development

Building

go build

About

Load a MySQL dump file using LOAD DATA INFILE

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages