Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/GoogleCloudPlatform/cloudsql-import

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/GoogleCloudPlatform/cloudsql-import

  • v0.0.0-20200103031502-8573233d7246
  • Source
  • Go
  • Socket score

Version published
Created
Source

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

  • See LICENSE

FAQs

Package last updated on 03 Jan 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc