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 and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store