Command-line tool for connecting to private Google Cloud SQL instances via the Cloud SQL Auth Proxy running in GKE. Current stable version 2.0.0. Enables easy TCP forwarding to private SQL instances using the Auth Proxy sidecar, with automatic credential and instance discovery. Requires node >= 20. Differentiates from manual gcloud proxy commands by automating the proxy connection and handling multiple instances.
npm install google-cloud-sqlNo compatibility data collected yet for this library.
Connects to a Cloud SQL instance using CLI; runs from terminal, no code import needed.
Deploy the Auth Proxy sidecar container alongside your application in the pod.
Ensure the service account used by the pod has roles/cloudsql.client IAM role.
Verify the proxy sidecar is running and listening on port 3307.
Double-check the instance connection name format: project:region:instance. Use `gcloud sql instances describe [INSTANCE_NAME]`.
No dependency data recorded yet.