gcloud sql instances list
SafeCloud SQL operations
gcloud sql instances list
Lists instances and connects directly; check authorizedNetworks when connections are refused.
Examples
gcloud sql connect prod-db --user=rootConnect to the instance
Syntax
gcloud sql instances [list|describe name] / gcloud sql connect
Before you run it
Inspection is safe; your SQL is on you.
Related commands
- Connect (psql/mysql/sqlcmd)Connect to a DB
- aws rds describe-db-instancesInspect RDS instances
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store