Skip to content
This repository has been archived by the owner on Apr 2, 2020. It is now read-only.

googlearchive/cloudsql-import

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

Cloud SQL import tool

WARNING: this project has been deprecated and is no longer supported or maintained.

This project will be archived on April 1, 2020.

cloudsql-import is a program resilient to restarts that replays a mysql dump to a MySQL server. The resilience is gained by saving the current state after each query. The final goal is for the program to also speed up the replay by issuing some queries in parallel.

How to build the tool

You can install the package in your $GOPATH with the go tool using the following command:

go get github.com/GoogleCloudPlatform/cloudsql-import

Note that this requires git on your machine and in your system's PATH.

The tool binary should be at $GOPATH/bin/cloudsql-import.

How to run the tool

cloudsql-import --dump=dump.sql --dsn='USER:ROOT@tcp(X.X.X.X:3306)/YYYY'

Where YYYY is a (optional) database name.

Licensing

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages