July 2018
Intermediate to advanced
506 pages
16h 2m
English
A very simple method for establishing a connection to your Cloud SQL instance is by using the built-in gcloud connection functionality. Simply run the following command:
gcloud sql connect hello-cloud-sql --user root
This command temporarily creates an authorized network for your machine's IP address, during which time a connection can be established. Note that this method does not use any form of encryption, meaning it should not be used when working with sensitive data.