Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kaorimatz/mysqldump-loader
Load a MySQL dump file using LOAD DATA INFILE
https://github.com/kaorimatz/mysqldump-loader
mysql mysqldump
Last synced: 20 days ago
JSON representation
Load a MySQL dump file using LOAD DATA INFILE
- Host: GitHub
- URL: https://github.com/kaorimatz/mysqldump-loader
- Owner: kaorimatz
- License: mit
- Created: 2018-06-04T07:45:11.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-07T11:59:18.000Z (over 4 years ago)
- Last Synced: 2024-10-11T21:14:51.051Z (about 1 month ago)
- Topics: mysql, mysqldump
- Language: Go
- Size: 113 KB
- Stars: 15
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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: =)
-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