Skip to content

CLI tool to connect Google CloudSQL instances. Wrapper for cloud-sql-proxy

License

Notifications You must be signed in to change notification settings

arnoldj-devops/cloudsql-proxy-pal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

made-with-Go Latest release GitHub license

Install cloudsql-proxy-pal

MacOS

brew install arnoldj-devops/tools/cloudsql-proxy-pal

Ubuntu

curl -s https://raw.githubusercontent.com/arnoldj-devops/cloudsql-proxy-pal/master/scripts/install.sh | bash

Usage

To connect a database instance

cloudsql-proxy-pal connect --port=<port-number>

Select the CloudSQL instance to connect

By default port=5432 and is optional

To disconnect instance

cloudsql-proxy-pal disconnect

For all commands

cloudsql-proxy-pal --help

Prerequisites:

Install prerequisites in single click (WIP)

curl -s https://raw.githubusercontent.com/arnoldj-devops/cloudsql-proxy-pal/master/scripts/install_prerequisites.sh | bash

About

CLI tool to connect Google CloudSQL instances. Wrapper for cloud-sql-proxy

Resources

License

Stars

Watchers

Forks

Packages

No packages published